chiark / gitweb /
[PATCH] Clean up the namedev interface a bit, making the code smaller...
[elogind.git] / namedev.h
index 1fe58600156f9772d9d3f0c2d25623a179175ee3..0e3a819952bc4b3f556d85a89060a10866e789ef 100644 (file)
--- a/namedev.h
+++ b/namedev.h
@@ -23,6 +23,8 @@
 #ifndef NAMEDEV_H
 #define NAMEDEV_H
 
+struct sysfs_class_device;
+
 /* namedev config files */
 #define COMMENT_CHARACTER              '#'
 #define NAMEDEV_CONFIG_ROOT            "/home/greg/src/udev/"
@@ -30,6 +32,6 @@
 #define NAMEDEV_CONFIG_FILE            "namedev.config"
 
 extern int namedev_init(void);
-extern int namedev_name_device(char *device_name, struct device_attr *attr);
+extern int namedev_name_device(struct sysfs_class_device *class_dev, struct device_attr *attr);
 
 #endif