summaryrefslogtreecommitdiff
path: root/udev.h
diff options
context:
space:
mode:
Diffstat (limited to 'udev.h')
-rw-r--r--udev.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/udev.h b/udev.h
index 94d1676c90..79942e71cd 100644
--- a/udev.h
+++ b/udev.h
@@ -136,8 +136,8 @@ struct name_entry {
char name[PATH_SIZE];
};
extern int log_priority(const char *priority);
-extern int name_list_add(struct list_head *name_list, const char *name, int sort);
-extern int name_list_key_add(struct list_head *name_list, const char *key, const char *value);
+extern char *name_list_add(struct list_head *name_list, const char *name, int sort);
+extern char *name_list_key_add(struct list_head *name_list, const char *key, const char *value);
extern void name_list_cleanup(struct list_head *name_list);
extern int add_matching_files(struct list_head *name_list, const char *dirname, const char *suffix);