diff options
author | Roy Marples <roy@marples.name> | 2008-02-11 20:14:09 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-02-11 20:14:09 +0000 |
commit | 567f8e33f2f7d951237996b6b2dd60189515754d (patch) | |
tree | 8a44f7ff0da9e5022bdbb519a08fd5fc975838b3 /src/rc/rc-update.c | |
parent | 5e470afb5251fdd51188999e23a7d9c2bbfe657c (diff) |
Just use the extern applet var.
Diffstat (limited to 'src/rc/rc-update.c')
-rw-r--r-- | src/rc/rc-update.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/rc/rc-update.c b/src/rc/rc-update.c index 38d4242d..1aefbc64 100644 --- a/src/rc/rc-update.c +++ b/src/rc/rc-update.c @@ -44,7 +44,7 @@ #include "rc-misc.h" #include "strlist.h" -static const char *applet = NULL; +extern const char *applet; /* Return the number of changes made: * -1 = no changes (error) @@ -157,8 +157,6 @@ int rc_update (int argc, char **argv) int opt; int retval = EXIT_FAILURE; - applet = basename_c (argv[0]); - while ((opt = getopt_long (argc, argv, getoptstring, longopts, (int *) 0)) != -1) { |