diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-06-24 06:09:14 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-06-24 06:09:14 +0000 |
commit | 15576268971168108f289cac6d6ecc6fdbb5075e (patch) | |
tree | 55a722a123082bd73f02fd401f381300d6312726 | |
parent | e0c0757d0925d7f83e2e107861c4e3ec8f525108 (diff) | |
download | busybox-15576268971168108f289cac6d6ecc6fdbb5075e.tar.gz |
Make the extern NUM_APPLETS be a extern const NUM_APPLETS, to match
the actual definition.
-Erik
-rw-r--r-- | applets.c | 2 | ||||
-rw-r--r-- | applets/applets.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -74,7 +74,7 @@ static int applet_name_compare(const void *x, const void *y) return strcmp(name, applet->name); } -extern size_t NUM_APPLETS; +extern const size_t NUM_APPLETS; struct BB_applet *find_applet_by_name(const char *name) { diff --git a/applets/applets.c b/applets/applets.c index 90667e52e..ca2de87d4 100644 --- a/applets/applets.c +++ b/applets/applets.c @@ -74,7 +74,7 @@ static int applet_name_compare(const void *x, const void *y) return strcmp(name, applet->name); } -extern size_t NUM_APPLETS; +extern const size_t NUM_APPLETS; struct BB_applet *find_applet_by_name(const char *name) { |