X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=udevtest.c;h=4bc094fd908f8c2f3dd21ea10f287f6de300f6a8;hb=97ed02eebe5c0676848d0707d13f4a21b6f4232f;hp=dd8375aa5cfe774814fa3c7872cbec5bd2924dd1;hpb=eb10f97f2816ae09f949060a2bb8c46b8c1788ed;p=elogind.git diff --git a/udevtest.c b/udevtest.c index dd8375aa5..4bc094fd9 100644 --- a/udevtest.c +++ b/udevtest.c @@ -27,11 +27,11 @@ #include #include +#include "libsysfs/sysfs/libsysfs.h" #include "udev.h" #include "udev_version.h" #include "logging.h" #include "namedev.h" -#include "libsysfs/libsysfs.h" /* global variables */ char **main_argv; @@ -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",