X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=udev_sysfs.h;h=5b87d6bf959b028afb8f96e1eab0c2ea35018797;hb=a8349b33e564f7faa83341cb1fa58466b0589ae9;hp=77c0e6a8efde3a661ba9a75c8655c9651887c6c2;hpb=7e720bd4ad8257d81d273d98294ebbcc03ade9ba;p=elogind.git diff --git a/udev_sysfs.h b/udev_sysfs.h index 77c0e6a8e..5b87d6bf9 100644 --- a/udev_sysfs.h +++ b/udev_sysfs.h @@ -24,13 +24,12 @@ #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);