diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-04-19 23:50:22 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-04-19 23:50:22 +0000 |
commit | 618d62f5939cd5af0ef65eda916614f99e457048 (patch) | |
tree | 8fea0c8ed9dbabe0c8f39c19cf57f68e4404a266 | |
parent | bae38db8e42b2d09b920d9430d18ee41bdcc0b17 (diff) | |
download | busybox-w32-618d62f5939cd5af0ef65eda916614f99e457048.tar.gz busybox-w32-618d62f5939cd5af0ef65eda916614f99e457048.tar.bz2 busybox-w32-618d62f5939cd5af0ef65eda916614f99e457048.zip |
fix whitespace
-rw-r--r-- | include/applets.h | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/include/applets.h b/include/applets.h index 7771c17a9..e5b19e0eb 100644 --- a/include/applets.h +++ b/include/applets.h | |||
@@ -16,34 +16,34 @@ | |||
16 | 16 | ||
17 | 17 | ||
18 | #if defined(PROTOTYPES) | 18 | #if defined(PROTOTYPES) |
19 | #define APPLET(a,b,c,d) extern int b(int argc, char **argv); | 19 | # define APPLET(a,b,c,d) extern int b(int argc, char **argv); |
20 | #define APPLET_NOUSAGE(a,b,c,d) extern int b(int argc, char **argv); | 20 | # define APPLET_NOUSAGE(a,b,c,d) extern int b(int argc, char **argv); |
21 | #define APPLET_ODDNAME(a,b,c,d,e) extern int b(int argc, char **argv); | 21 | # define APPLET_ODDNAME(a,b,c,d,e) extern int b(int argc, char **argv); |
22 | extern const char usage_messages[]; | 22 | extern const char usage_messages[]; |
23 | #elif defined(MAKE_USAGE) | 23 | #elif defined(MAKE_USAGE) |
24 | #ifdef CONFIG_FEATURE_VERBOSE_USAGE | 24 | # ifdef CONFIG_FEATURE_VERBOSE_USAGE |
25 | #define APPLET(a,b,c,d) a##_trivial_usage "\n\n" a##_full_usage "\0" | 25 | # define APPLET(a,b,c,d) a##_trivial_usage "\n\n" a##_full_usage "\0" |
26 | #define APPLET_NOUSAGE(a,b,c,d) "\b\0" | 26 | # define APPLET_NOUSAGE(a,b,c,d) "\b\0" |
27 | #define APPLET_ODDNAME(a,b,c,d,e) e##_trivial_usage "\n\n" e##_full_usage "\0" | 27 | # define APPLET_ODDNAME(a,b,c,d,e) e##_trivial_usage "\n\n" e##_full_usage "\0" |
28 | #else | 28 | # else |
29 | #define APPLET(a,b,c,d) a##_trivial_usage "\0" | 29 | # define APPLET(a,b,c,d) a##_trivial_usage "\0" |
30 | #define APPLET_NOUSAGE(a,b,c,d) "\b\0" | 30 | # define APPLET_NOUSAGE(a,b,c,d) "\b\0" |
31 | #define APPLET_ODDNAME(a,b,c,d,e) e##_trivial_usage "\0" | 31 | # define APPLET_ODDNAME(a,b,c,d,e) e##_trivial_usage "\0" |
32 | #endif | 32 | # endif |
33 | #elif defined(MAKE_LINKS) | 33 | #elif defined(MAKE_LINKS) |
34 | # define APPLET(a,b,c,d) LINK c a | 34 | # define APPLET(a,b,c,d) LINK c a |
35 | # define APPLET_NOUSAGE(a,b,c,d) LINK c a | 35 | # define APPLET_NOUSAGE(a,b,c,d) LINK c a |
36 | # define APPLET_ODDNAME(a,b,c,d,e) LINK c a | 36 | # define APPLET_ODDNAME(a,b,c,d,e) LINK c a |
37 | #else | 37 | #else |
38 | const struct BB_applet applets[] = { | 38 | const struct BB_applet applets[] = { |
39 | #define APPLET(a,b,c,d) {#a,b,c,d}, | 39 | # define APPLET(a,b,c,d) {#a,b,c,d}, |
40 | #define APPLET_NOUSAGE(a,b,c,d) {a,b,c,d}, | 40 | # define APPLET_NOUSAGE(a,b,c,d) {a,b,c,d}, |
41 | #define APPLET_ODDNAME(a,b,c,d,e) {a,b,c,d}, | 41 | # define APPLET_ODDNAME(a,b,c,d,e) {a,b,c,d}, |
42 | #endif | 42 | #endif |
43 | 43 | ||
44 | #ifdef CONFIG_INSTALL_NO_USR | 44 | #ifdef CONFIG_INSTALL_NO_USR |
45 | #define _BB_DIR_USR_BIN _BB_DIR_BIN | 45 | # define _BB_DIR_USR_BIN _BB_DIR_BIN |
46 | #define _BB_DIR_USR_SBIN _BB_DIR_SBIN | 46 | # define _BB_DIR_USR_SBIN _BB_DIR_SBIN |
47 | #endif | 47 | #endif |
48 | 48 | ||
49 | 49 | ||
@@ -171,7 +171,7 @@ | |||
171 | APPLET(dumpkmap, dumpkmap_main, _BB_DIR_BIN, _BB_SUID_NEVER) | 171 | APPLET(dumpkmap, dumpkmap_main, _BB_DIR_BIN, _BB_SUID_NEVER) |
172 | #endif | 172 | #endif |
173 | #ifdef CONFIG_DUMPLEASES | 173 | #ifdef CONFIG_DUMPLEASES |
174 | APPLET(dumpleases, dumpleases_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) | 174 | APPLET(dumpleases, dumpleases_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) |
175 | #endif | 175 | #endif |
176 | #ifdef CONFIG_ECHO | 176 | #ifdef CONFIG_ECHO |
177 | APPLET(echo, echo_main, _BB_DIR_BIN, _BB_SUID_NEVER) | 177 | APPLET(echo, echo_main, _BB_DIR_BIN, _BB_SUID_NEVER) |
@@ -531,7 +531,7 @@ | |||
531 | APPLET(sort, sort_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) | 531 | APPLET(sort, sort_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) |
532 | #endif | 532 | #endif |
533 | #ifdef CONFIG_START_STOP_DAEMON | 533 | #ifdef CONFIG_START_STOP_DAEMON |
534 | APPLET_ODDNAME("start-stop-daemon", start_stop_daemon_main, _BB_DIR_SBIN, _BB_SUID_NEVER, start_stop_daemon) | 534 | APPLET_ODDNAME("start-stop-daemon", start_stop_daemon_main, _BB_DIR_SBIN, _BB_SUID_NEVER, start_stop_daemon) |
535 | #endif | 535 | #endif |
536 | #ifdef CONFIG_STRINGS | 536 | #ifdef CONFIG_STRINGS |
537 | APPLET(strings, strings_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) | 537 | APPLET(strings, strings_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) |
@@ -606,7 +606,7 @@ | |||
606 | APPLET(udhcpc, udhcpc_main, _BB_DIR_SBIN, _BB_SUID_NEVER) | 606 | APPLET(udhcpc, udhcpc_main, _BB_DIR_SBIN, _BB_SUID_NEVER) |
607 | #endif | 607 | #endif |
608 | #ifdef CONFIG_UDHCPD | 608 | #ifdef CONFIG_UDHCPD |
609 | APPLET(udhcpd, udhcpd_main, _BB_DIR_USR_SBIN, _BB_SUID_NEVER) | 609 | APPLET(udhcpd, udhcpd_main, _BB_DIR_USR_SBIN, _BB_SUID_NEVER) |
610 | #endif | 610 | #endif |
611 | #ifdef CONFIG_UMOUNT | 611 | #ifdef CONFIG_UMOUNT |
612 | APPLET(umount, umount_main, _BB_DIR_BIN, _BB_SUID_NEVER) | 612 | APPLET(umount, umount_main, _BB_DIR_BIN, _BB_SUID_NEVER) |