From: Matt Kraai Date: Wed, 12 Jul 2000 00:43:28 +0000 (-0000) Subject: The applet name isn't constant. X-Git-Tag: 0_47~273 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3ecbe9f4dca998d224760f537dc1c3fd7269893b;p=oweals%2Fbusybox.git The applet name isn't constant. --- 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)));