summaryrefslogtreecommitdiff
path: root/udev_utils.h
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2005-03-17 09:59:32 +0100
committerGreg KH <gregkh@suse.de>2005-04-26 23:53:53 -0700
commit67747e1de37158cd58782f432ccba8db55251592 (patch)
tree887efaf2b081dfe77d876c573e9cadfbbead41dc /udev_utils.h
parent7e3e23925b139075746c015eaffaba509d5eb304 (diff)
[PATCH] change call_foreach_file to return a list
Diffstat (limited to 'udev_utils.h')
-rw-r--r--udev_utils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/udev_utils.h b/udev_utils.h
index c7a41aaa44..b45500dcff 100644
--- a/udev_utils.h
+++ b/udev_utils.h
@@ -41,6 +41,6 @@ extern void file_unmap(char *buf, size_t bufsize);
extern size_t buf_get_line(const char *buf, size_t buflen, size_t cur);
extern void no_trailing_slash(char *path);
extern int name_list_add(struct list_head *name_list, const char *name, int sort);
-extern int call_foreach_file(int (*handler_function)(struct udevice *udev, const char *string),
- struct udevice *udev, const char *dirname, const char *suffix);
+extern int add_matching_files(struct list_head *name_list, const char *dirname, const char *suffix);
+
#endif