From 856be770a66a4d928f13c9d2f401dc1092e5270e Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Fri, 17 Aug 2007 08:29:48 +0000 Subject: assorted fixes for breakage found by randomconfig --- applets/applets.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'applets/applets.c') 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 -- cgit v1.2.3