The applet name isn't constant.

This commit is contained in:
Matt Kraai 2000-07-12 00:43:28 +00:00
parent 97426e082a
commit 3ecbe9f4dc
3 changed files with 3 additions and 3 deletions

View File

@ -354,7 +354,7 @@ const struct BB_applet applets[] = {
{0} {0}
}; };
const char *applet_name; char *applet_name;
#ifdef BB_FEATURE_INSTALLER #ifdef BB_FEATURE_INSTALLER
/* /*

View File

@ -354,7 +354,7 @@ const struct BB_applet applets[] = {
{0} {0}
}; };
const char *applet_name; char *applet_name;
#ifdef BB_FEATURE_INSTALLER #ifdef BB_FEATURE_INSTALLER
/* /*

View File

@ -208,7 +208,7 @@ extern int which_main(int argc, char** argv);
extern int whoami_main(int argc, char** argv); extern int whoami_main(int argc, char** argv);
extern int yes_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 usage(const char *usage) __attribute__ ((noreturn));
extern void errorMsg(const char *s, ...) __attribute__ ((format (printf, 1, 2))); extern void errorMsg(const char *s, ...) __attribute__ ((format (printf, 1, 2)));