Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2000-07-12 04:43:28 +0400
committerMatt Kraai <kraai@debian.org>2000-07-12 04:43:28 +0400
commit3ecbe9f4dca998d224760f537dc1c3fd7269893b (patch)
treeefcc3843044bb588a3fa82ccf0390c73be318f78
parent97426e082a419dd682409e68bd00072ea51ed849 (diff)
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 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)));