Cleanup usage messages (-200 bytes).
Remove busybox_main from applet table since it is called via separate check
This commit is contained in:
parent
0ee3999d13
commit
765996aaea
@ -15,7 +15,6 @@
|
||||
#undef APPLET_ODDNAME
|
||||
#undef APPLET_NOUSAGE
|
||||
|
||||
|
||||
#if defined(PROTOTYPES)
|
||||
# define APPLET(a,b,c) extern int a##_main(int argc, char **argv);
|
||||
# define APPLET_NOUSAGE(a,b,c,d) extern int b##_main(int argc, char **argv);
|
||||
@ -64,8 +63,6 @@ USE_BASENAME(APPLET(basename, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
|
||||
USE_BBCONFIG(APPLET(bbconfig, _BB_DIR_BIN, _BB_SUID_NEVER))
|
||||
//USE_BBSH(APPLET(bbsh, _BB_DIR_BIN, _BB_SUID_NEVER))
|
||||
USE_BUNZIP2(APPLET(bunzip2, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
|
||||
/* Always enabled. */
|
||||
APPLET_NOUSAGE(busybox, busybox, _BB_DIR_BIN, _BB_SUID_MAYBE)
|
||||
USE_BUNZIP2(APPLET_ODDNAME(bzcat, bunzip2, _BB_DIR_USR_BIN, _BB_SUID_NEVER, bzcat))
|
||||
USE_CAL(APPLET(cal, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
|
||||
USE_CAT(APPLET(cat, _BB_DIR_BIN, _BB_SUID_NEVER))
|
||||
|
@ -32,6 +32,7 @@ struct BB_applet {
|
||||
};
|
||||
|
||||
/* From busybox.c and applet.c */
|
||||
extern int busybox_main(int argc, char **argv);
|
||||
extern const struct BB_applet applets[];
|
||||
extern const unsigned short NUM_APPLETS;
|
||||
|
||||
|
745
include/usage.h
745
include/usage.h
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user