summaryrefslogtreecommitdiff
path: root/udev/lib/libudev-enumerate.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-09-09 22:10:33 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-09-09 22:10:33 +0200
commit6b12bdb62460a0bdc08d5e020a64c18bc1672bb1 (patch)
tree5aa0b4ce3df587dca477e837155642f0032e5066 /udev/lib/libudev-enumerate.c
parent95d90c4fe0581d8b630c62e38591b3af960d131a (diff)
libudev: rename enumerate function
Diffstat (limited to 'udev/lib/libudev-enumerate.c')
-rw-r--r--udev/lib/libudev-enumerate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/udev/lib/libudev-enumerate.c b/udev/lib/libudev-enumerate.c
index 6aa04d8f9b..1ba4de8948 100644
--- a/udev/lib/libudev-enumerate.c
+++ b/udev/lib/libudev-enumerate.c
@@ -130,7 +130,7 @@ static int devices_call(struct udev *udev, const char *devpath,
}
/**
- * udev_devices_enumerate:
+ * udev_enumerate_devices:
* @udev_device: udev device
* @cb: function to be called for every property found
* @data: data to be passed to the function
@@ -142,7 +142,7 @@ static int devices_call(struct udev *udev, const char *devpath,
*
* Returns: the number of properties passed to the caller, or a negative value on error
**/
-int udev_devices_enumerate(struct udev *udev, const char *subsystem,
+int udev_enumerate_devices(struct udev *udev, const char *subsystem,
int (*cb)(struct udev *udev,
const char *devpath, const char *subsystem, const char *name, void *data),
void *data)