summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Kraai2000-07-12 00:43:28 +0000
committerMatt Kraai2000-07-12 00:43:28 +0000
commit3ecbe9f4dca998d224760f537dc1c3fd7269893b (patch)
treeefcc3843044bb588a3fa82ccf0390c73be318f78
parent97426e082a419dd682409e68bd00072ea51ed849 (diff)
downloadbusybox-3ecbe9f4dca998d224760f537dc1c3fd7269893b.zip
busybox-3ecbe9f4dca998d224760f537dc1c3fd7269893b.tar.gz
The applet name isn't constant.
-rw-r--r--applets/busybox.c2
-rw-r--r--busybox.c2
-rw-r--r--internal.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/applets/busybox.c b/applets/busybox.c
index 218343b..a355cdd 100644
--- a/applets/busybox.c
+++ b/applets/busybox.c
@@ -354,7 +354,7 @@ const struct BB_applet applets[] = {
{0}
};
-const char *applet_name;
+char *applet_name;
#ifdef BB_FEATURE_INSTALLER
/*
diff --git a/busybox.c b/busybox.c
index 218343b..a355cdd 100644
--- a/busybox.c
+++ b/busybox.c
@@ -354,7 +354,7 @@ const struct BB_applet applets[] = {
{0}
};
-const char *applet_name;
+char *applet_name;
#ifdef BB_FEATURE_INSTALLER
/*
diff --git a/internal.h b/internal.h
index 53c36c6..44c2e81 100644
--- a/internal.h
+++ b/internal.h
@@ -208,7 +208,7 @@ extern int which_main(int argc, char** argv);
extern int whoami_main(int argc, char** argv);
extern int yes_main(int argc, char** argv);
-extern const char *applet_name;
+extern char *applet_name;
extern void usage(const char *usage) __attribute__ ((noreturn));
extern void errorMsg(const char *s, ...) __attribute__ ((format (printf, 1, 2)));