The applet name isn't constant.
This commit is contained in:
parent
97426e082a
commit
3ecbe9f4dc
@ -354,7 +354,7 @@ const struct BB_applet applets[] = {
|
||||
{0}
|
||||
};
|
||||
|
||||
const char *applet_name;
|
||||
char *applet_name;
|
||||
|
||||
#ifdef BB_FEATURE_INSTALLER
|
||||
/*
|
||||
|
@ -354,7 +354,7 @@ const struct BB_applet applets[] = {
|
||||
{0}
|
||||
};
|
||||
|
||||
const char *applet_name;
|
||||
char *applet_name;
|
||||
|
||||
#ifdef BB_FEATURE_INSTALLER
|
||||
/*
|
||||
|
@ -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)));
|
||||
|
Loading…
Reference in New Issue
Block a user