summaryrefslogtreecommitdiff
path: root/udev_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'udev_lib.h')
-rw-r--r--udev_lib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/udev_lib.h b/udev_lib.h
index 8a14ef00b6..94649b645f 100644
--- a/udev_lib.h
+++ b/udev_lib.h
@@ -83,11 +83,11 @@ extern char *get_seqnum(void);
extern char *get_subsystem(char *subsystem);
extern char get_device_type(const char *path, const char *subsystem);
extern void udev_set_values(struct udevice *udev, const char* devpath, const char *subsystem);
+extern int create_path(const char *path);
extern int file_map(const char *filename, char **buf, size_t *bufsize);
extern void file_unmap(char *buf, size_t bufsize);
extern size_t buf_get_line(char *buf, size_t buflen, size_t cur);
-extern void leading_slash(char *path);
-extern void no_leading_slash(char *path);
+extern void no_trailing_slash(char *path);
extern int call_foreach_file(int fnct(char *f) , char *filename, char *extension);
extern int set_cloexec_flag (int desc, int value);