aboutsummaryrefslogtreecommitdiff
path: root/src/rc/rc-depend.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-02-11 20:14:09 +0000
committerRoy Marples <roy@marples.name>2008-02-11 20:14:09 +0000
commit567f8e33f2f7d951237996b6b2dd60189515754d (patch)
tree8a44f7ff0da9e5022bdbb519a08fd5fc975838b3 /src/rc/rc-depend.c
parent5e470afb5251fdd51188999e23a7d9c2bbfe657c (diff)
Just use the extern applet var.
Diffstat (limited to 'src/rc/rc-depend.c')
-rw-r--r--src/rc/rc-depend.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/rc/rc-depend.c b/src/rc/rc-depend.c
index 0bb4c213..d4ce8317 100644
--- a/src/rc/rc-depend.c
+++ b/src/rc/rc-depend.c
@@ -45,7 +45,7 @@
#include "rc-misc.h"
#include "strlist.h"
-static const char *applet;
+extern const char *applet;
rc_depinfo_t *_rc_deptree_load (int *regen) {
if (rc_deptree_update_needed ()) {
@@ -96,8 +96,6 @@ int rc_depend (int argc, char **argv)
int opt;
char *token;
- applet = basename_c (argv[0]);
-
while ((opt = getopt_long (argc, argv, getoptstring,
longopts, (int *) 0)) != -1)
{