From: Eric Andersen Date: Sun, 24 Jun 2001 06:09:14 +0000 (-0000) Subject: Make the extern NUM_APPLETS be a extern const NUM_APPLETS, to match X-Git-Tag: 0_52~69 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=15576268971168108f289cac6d6ecc6fdbb5075e;p=oweals%2Fbusybox.git Make the extern NUM_APPLETS be a extern const NUM_APPLETS, to match the actual definition. -Erik --- diff --git a/applets.c b/applets.c index 90667e52e..ca2de87d4 100644 --- a/applets.c +++ b/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) { 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) {