chiark / gitweb /
libudev: device_new() -> udev_device_new()
authorKay Sievers <kay.sievers@vrfy.org>
Tue, 9 Jun 2009 11:11:23 +0000 (13:11 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Tue, 9 Jun 2009 11:11:23 +0000 (13:11 +0200)
libudev/libudev-device.c
libudev/libudev-monitor.c
libudev/libudev-private.h

index ea54bad..96cc2db 100644 (file)
@@ -222,7 +222,7 @@ void udev_device_set_info_loaded(struct udev_device *device)
        device->info_loaded = 1;
 }
 
-struct udev_device *device_new(struct udev *udev)
+struct udev_device *udev_device_new(struct udev *udev)
 {
        struct udev_device *udev_device;
        struct udev_list_entry *list_entry;
@@ -331,7 +331,7 @@ struct udev_device *udev_device_new_from_syspath(struct udev *udev, const char *
                }
        }
 
-       udev_device = device_new(udev);
+       udev_device = udev_device_new(udev);
        if (udev_device == NULL)
                return NULL;
 
index 7a0cb47..5c4e8ca 100644 (file)
@@ -562,7 +562,7 @@ retry:
                }
        }
 
-       udev_device = device_new(udev_monitor->udev);
+       udev_device = udev_device_new(udev_monitor->udev);
        if (udev_device == NULL) {
                return NULL;
        }
index 5512341..f1ff10b 100644 (file)
@@ -39,13 +39,13 @@ void udev_log(struct udev *udev,
              int priority, const char *file, int line, const char *fn,
              const char *format, ...)
              __attribute__ ((format(printf, 6, 7)));
-struct udev_device *device_new(struct udev *udev);
 const char *udev_get_rules_path(struct udev *udev);
 int udev_get_run(struct udev *udev);
 struct udev_list_entry *udev_add_property(struct udev *udev, const char *key, const char *value);
 struct udev_list_entry *udev_get_properties_list_entry(struct udev *udev);
 
 /* libudev-device */
+struct udev_device *udev_device_new(struct udev *udev);
 int udev_device_set_syspath(struct udev_device *udev_device, const char *syspath);
 int udev_device_set_subsystem(struct udev_device *udev_device, const char *subsystem);
 int udev_device_set_devtype(struct udev_device *udev_device, const char *devtype);