Commits

braindamaged committed fd5f1bb

udev: make udev_event_execute_rules() visible

Comments (0)

Files changed (2)

src/libudev-device.c

         return 0;
 }
 
-static int udev_device_set_subsystem(struct udev_device *udev_device, const char *subsystem)
+int udev_device_set_subsystem(struct udev_device *udev_device, const char *subsystem)
 {
         free(udev_device->subsystem);
         udev_device->subsystem = strdup(subsystem);

src/libudev-private.h

 
 /* libudev-device.c */
 struct udev_device *udev_device_new(struct udev *udev);
+int udev_device_set_subsystem(struct udev_device *udev_device, const char *subsystem);
 mode_t udev_device_get_devnode_mode(struct udev_device *udev_device);
 int udev_device_set_syspath(struct udev_device *udev_device, const char *syspath);
 int udev_device_set_devnode(struct udev_device *udev_device, const char *devnode);