Make the extern NUM_APPLETS be a extern const NUM_APPLETS, to match
the actual definition. -Erik
This commit is contained in:
parent
e0c0757d09
commit
1557626897
@ -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)
|
||||
{
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user