Make the extern NUM_APPLETS be a extern const NUM_APPLETS, to match

the actual definition.
 -Erik
This commit is contained in:
Eric Andersen 2001-06-24 06:09:14 +00:00
parent e0c0757d09
commit 1557626897
2 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ static int applet_name_compare(const void *x, const void *y)
return strcmp(name, applet->name); 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) struct BB_applet *find_applet_by_name(const char *name)
{ {

View File

@ -74,7 +74,7 @@ static int applet_name_compare(const void *x, const void *y)
return strcmp(name, applet->name); 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) struct BB_applet *find_applet_by_name(const char *name)
{ {