/* Define struct bb_applet applets[] */
#include "../include/applets.h"
-enum { NUM_APPLETS = sizeof(applets)/sizeof(applets[0]) };
+enum { NUM_APPLETS = ARRAY_SIZE(applets) };
static int offset[NUM_APPLETS];
+ (applets[i].noexec << 13)
#endif
#if ENABLE_FEATURE_SUID
- + (applets[i].need_suid << 14) /* 2 bits */
+ + (applets[i].need_suid << 14) /* 2 bits */
#endif
);
}
#endif /* SHOW_USAGE */
-/* Include generated applet names, pointers to <apllet>_main, etc */
+/* Include generated applet names, pointers to <applet>_main, etc */
#include "applet_tables.h"