]> err.no Git - systemd/commitdiff
[PATCH] udevinfo doesn't need to declare main_envp
authorgreg@kroah.com <greg@kroah.com>
Tue, 27 Jan 2004 03:22:31 +0000 (19:22 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:13:19 +0000 (21:13 -0700)
udevinfo.c

index a2f5601b7c9b8518af3c88be5361f54bbe27a8ef..aa9d20a7736a7cb19b67133a551658a204bbe236 100644 (file)
@@ -38,7 +38,6 @@
 
 char **main_argv;
 int main_argc;
-char **main_envp;
 
 static int print_all_attributes(const char *path)
 {
@@ -412,7 +411,6 @@ int main(int argc, char *argv[], char *envp[])
 
        main_argv = argv;
        main_argc = argc;
-       main_envp = envp;
 
        /* initialize our configuration */
        udev_init_config();