diff options
Diffstat (limited to 'applets')
-rw-r--r-- | applets/applets.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/applets/applets.c b/applets/applets.c index 6ff4301e4..6de6db3cd 100644 --- a/applets/applets.c +++ b/applets/applets.c | |||
@@ -48,6 +48,9 @@ static const char usage_messages[] ALIGN1 = "" | |||
48 | #include "applets.h" | 48 | #include "applets.h" |
49 | /* The -1 arises because of the {0,NULL,0,-1} entry. */ | 49 | /* The -1 arises because of the {0,NULL,0,-1} entry. */ |
50 | 50 | ||
51 | #if ENABLE_FEATURE_SH_STANDALONE | ||
52 | const unsigned short NUM_APPLETS = ARRAY_SIZE(applets); | ||
53 | #endif | ||
51 | const struct bb_applet *current_applet; | 54 | const struct bb_applet *current_applet; |
52 | const char *applet_name ATTRIBUTE_EXTERNALLY_VISIBLE; | 55 | const char *applet_name ATTRIBUTE_EXTERNALLY_VISIBLE; |
53 | #if !BB_MMU | 56 | #if !BB_MMU |