chiark / gitweb /
libudev: enumerate - scan /sys/block/ if needed
[elogind.git] / udev / udev.h
index ae50213fd849fd0fbb0971b41cc2f30c8bcb6b1d..102f15d0b9bf94b1cd8dc3ab44ec2d8c767e9c0c 100644 (file)
@@ -19,8 +19,6 @@
 #ifndef _UDEV_H_
 #define _UDEV_H_
 
-#include "config.h"
-
 #include <sys/types.h>
 #include <sys/param.h>
 
@@ -28,7 +26,7 @@
 #define LIBUDEV_I_KNOW_THE_API_IS_SUBJECT_TO_CHANGE 1
 #include "lib/libudev.h"
 #include "lib/libudev-private.h"
-#include "lib/list.h"
+#include "list.h"
 
 #define ALLOWED_CHARS                          "#+-.:=@_"
 #define ALLOWED_CHARS_FILE                     ALLOWED_CHARS "/"
@@ -146,7 +144,6 @@ extern int udev_db_delete_device(struct udevice *udevice);
 extern int udev_db_rename(struct udev *udev, const char *devpath_old, const char *devpath);
 extern int udev_db_get_device(struct udevice *udevice, const char *devpath);
 extern int udev_db_get_devices_by_name(struct udev *udev, const char *name, struct list_head *name_list);
-extern int udev_db_get_all_entries(struct udev *udevconst, struct list_head *name_list);
 
 /* udev_utils.c */
 struct name_entry {