diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-08-17 08:29:48 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-08-17 08:29:48 +0000 |
commit | 856be770a66a4d928f13c9d2f401dc1092e5270e (patch) | |
tree | 62c6391260ae26ec9a383e72265a4ab3f6894373 /applets | |
parent | 7f175ccbc38c0de2423a9554f8ee1663431845d9 (diff) | |
download | busybox-w32-856be770a66a4d928f13c9d2f401dc1092e5270e.tar.gz busybox-w32-856be770a66a4d928f13c9d2f401dc1092e5270e.tar.bz2 busybox-w32-856be770a66a4d928f13c9d2f401dc1092e5270e.zip |
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 = "" | |||
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 |