chiark / gitweb /
[PATCH] install udevinfo in /usr/bin
[elogind.git] / udevtest.c
index 175f14326977256d37b053d9ee3190e3ff8c82fb..4bc094fd908f8c2f3dd21ea10f287f6de300f6a8 100644 (file)
@@ -26,8 +26,8 @@
 #include <errno.h>
 #include <ctype.h>
 #include <signal.h>
-#include <sysfs/libsysfs.h>
 
+#include "libsysfs/sysfs/libsysfs.h"
 #include "udev.h"
 #include "udev_version.h"
 #include "logging.h"
@@ -66,30 +66,6 @@ static void sig_handler(int signum)
        }
 }
 
-static inline char *get_action(void)
-{
-       char *action;
-
-       action = getenv("ACTION");
-       return action;
-}
-
-static inline char *get_devpath(void)
-{
-       char *devpath;
-
-       devpath = getenv("DEVPATH");
-       return devpath;
-}
-
-static inline char *get_seqnum(void)
-{
-       char *seqnum;
-
-       seqnum = getenv("SEQNUM");
-       return seqnum;
-}
-
 static char *subsystem_blacklist[] = {
        "net",
        "scsi_host",