small code readability and typo fixes
This commit is contained in:
parent
68444b9f0c
commit
32b2a9fd6a
@ -32,7 +32,7 @@ struct bb_applet {
|
||||
/* 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];
|
||||
|
||||
|
@ -34,7 +34,7 @@ static const char usage_messages[] ALIGN1 = ""
|
||||
#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"
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user