fix whitespace
This commit is contained in:
parent
bae38db8e4
commit
618d62f593
@ -16,34 +16,34 @@
|
||||
|
||||
|
||||
#if defined(PROTOTYPES)
|
||||
#define APPLET(a,b,c,d) extern int b(int argc, char **argv);
|
||||
#define APPLET_NOUSAGE(a,b,c,d) extern int b(int argc, char **argv);
|
||||
#define APPLET_ODDNAME(a,b,c,d,e) extern int b(int argc, char **argv);
|
||||
# define APPLET(a,b,c,d) extern int b(int argc, char **argv);
|
||||
# define APPLET_NOUSAGE(a,b,c,d) extern int b(int argc, char **argv);
|
||||
# define APPLET_ODDNAME(a,b,c,d,e) extern int b(int argc, char **argv);
|
||||
extern const char usage_messages[];
|
||||
#elif defined(MAKE_USAGE)
|
||||
#ifdef CONFIG_FEATURE_VERBOSE_USAGE
|
||||
#define APPLET(a,b,c,d) a##_trivial_usage "\n\n" a##_full_usage "\0"
|
||||
#define APPLET_NOUSAGE(a,b,c,d) "\b\0"
|
||||
#define APPLET_ODDNAME(a,b,c,d,e) e##_trivial_usage "\n\n" e##_full_usage "\0"
|
||||
#else
|
||||
#define APPLET(a,b,c,d) a##_trivial_usage "\0"
|
||||
#define APPLET_NOUSAGE(a,b,c,d) "\b\0"
|
||||
#define APPLET_ODDNAME(a,b,c,d,e) e##_trivial_usage "\0"
|
||||
#endif
|
||||
# ifdef CONFIG_FEATURE_VERBOSE_USAGE
|
||||
# define APPLET(a,b,c,d) a##_trivial_usage "\n\n" a##_full_usage "\0"
|
||||
# define APPLET_NOUSAGE(a,b,c,d) "\b\0"
|
||||
# define APPLET_ODDNAME(a,b,c,d,e) e##_trivial_usage "\n\n" e##_full_usage "\0"
|
||||
# else
|
||||
# define APPLET(a,b,c,d) a##_trivial_usage "\0"
|
||||
# define APPLET_NOUSAGE(a,b,c,d) "\b\0"
|
||||
# define APPLET_ODDNAME(a,b,c,d,e) e##_trivial_usage "\0"
|
||||
# endif
|
||||
#elif defined(MAKE_LINKS)
|
||||
# define APPLET(a,b,c,d) LINK c a
|
||||
# define APPLET_NOUSAGE(a,b,c,d) LINK c a
|
||||
# define APPLET_ODDNAME(a,b,c,d,e) LINK c a
|
||||
#else
|
||||
const struct BB_applet applets[] = {
|
||||
#define APPLET(a,b,c,d) {#a,b,c,d},
|
||||
#define APPLET_NOUSAGE(a,b,c,d) {a,b,c,d},
|
||||
#define APPLET_ODDNAME(a,b,c,d,e) {a,b,c,d},
|
||||
# define APPLET(a,b,c,d) {#a,b,c,d},
|
||||
# define APPLET_NOUSAGE(a,b,c,d) {a,b,c,d},
|
||||
# define APPLET_ODDNAME(a,b,c,d,e) {a,b,c,d},
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_INSTALL_NO_USR
|
||||
#define _BB_DIR_USR_BIN _BB_DIR_BIN
|
||||
#define _BB_DIR_USR_SBIN _BB_DIR_SBIN
|
||||
# define _BB_DIR_USR_BIN _BB_DIR_BIN
|
||||
# define _BB_DIR_USR_SBIN _BB_DIR_SBIN
|
||||
#endif
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user