chiark / gitweb /
add strerror() to error logs
[elogind.git] / udev_sysfs.h
index 77c0e6a8efde3a661ba9a75c8655c9651887c6c2..5b87d6bf959b028afb8f96e1eab0c2ea35018797 100644 (file)
 
 #include "libsysfs/sysfs/libsysfs.h"
 
-#define WAIT_MAX_SECONDS               5
+#define WAIT_MAX_SECONDS               3
 #define WAIT_LOOP_PER_SECOND           20
 
 extern dev_t get_devt(struct sysfs_class_device *class_dev);
-extern int subsystem_expect_no_dev(const char *subsystem);
 
-/* /sys/class /sys/block devices */
+/* /sys/class, /sys/block devices */
 extern struct sysfs_class_device *wait_class_device_open(const char *path);
 extern int wait_for_class_device(struct sysfs_class_device *class_dev, const char **error);