chiark / gitweb /
[PATCH] add support for /devices-devices without any file to wait for
[elogind.git] / udevtest.c
index e67af0df673fb05dd3378afb056f95f79f7dd697..b9a5fea489491aaf78f8c886ce28753373aa1d0c 100644 (file)
 #include "udev.h"
 #include "udev_lib.h"
 #include "udev_version.h"
-#include "logging.h"
 #include "namedev.h"
-
-/* global variables */
-char **main_argv;
-char **main_envp;
+#include "logging.h"
 
 
 #ifdef LOG
@@ -62,9 +58,6 @@ int main(int argc, char *argv[], char *envp[])
        char *subsystem = "";
        struct udevice udev;
 
-       main_argv = argv;
-       main_envp = envp;
-
        info("version %s", UDEV_VERSION);
 
        if (argv[1] == NULL) {