diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-08-17 12:29:48 +0400 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-08-17 12:29:48 +0400 |
commit | 856be770a66a4d928f13c9d2f401dc1092e5270e (patch) | |
tree | 62c6391260ae26ec9a383e72265a4ab3f6894373 /applets | |
parent | 7f175ccbc38c0de2423a9554f8ee1663431845d9 (diff) |
assorted fixes for breakage found by randomconfig
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 = "" #include "applets.h" /* The -1 arises because of the {0,NULL,0,-1} entry. */ +#if ENABLE_FEATURE_SH_STANDALONE +const unsigned short NUM_APPLETS = ARRAY_SIZE(applets); +#endif const struct bb_applet *current_applet; const char *applet_name ATTRIBUTE_EXTERNALLY_VISIBLE; #if !BB_MMU |