From 3ecbe9f4dca998d224760f537dc1c3fd7269893b Mon Sep 17 00:00:00 2001 From: Matt Kraai Date: Wed, 12 Jul 2000 00:43:28 +0000 Subject: [PATCH] The applet name isn't constant. --- applets/busybox.c | 2 +- busybox.c | 2 +- internal.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/applets/busybox.c b/applets/busybox.c index 218343b4b..a355cdd1d 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 218343b4b..a355cdd1d 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 53c36c605..44c2e81ac 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)));