diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-06-05 23:11:07 +0200 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-06-05 23:11:07 +0200 |
| commit | 0e5ba0843b86a78d2d98a5fbaac8d33fe041f10e (patch) | |
| tree | 1f043ab8b4f8e1e57ddaf49e0ddf7677fedf7689 /include | |
| parent | 729ce473609fbe2aef656e6079d6b8a102962004 (diff) | |
| download | busybox-w32-0e5ba0843b86a78d2d98a5fbaac8d33fe041f10e.tar.gz busybox-w32-0e5ba0843b86a78d2d98a5fbaac8d33fe041f10e.tar.bz2 busybox-w32-0e5ba0843b86a78d2d98a5fbaac8d33fe041f10e.zip | |
Remove requirement that include/applets.h must be sorted
First, I _again_ violated it - two xz-related applets are in wrong positions.
Second, planned in-applet help text thing will be so much easier without
this requirement...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/applets.h | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/include/applets.h b/include/applets.h index d8a706b44..cf8de8eb6 100644 --- a/include/applets.h +++ b/include/applets.h | |||
| @@ -4,11 +4,6 @@ | |||
| 4 | * | 4 | * |
| 5 | * If you write a new applet, you need to add an entry to this list to make | 5 | * If you write a new applet, you need to add an entry to this list to make |
| 6 | * busybox aware of it. | 6 | * busybox aware of it. |
| 7 | * | ||
| 8 | * It is CRUCIAL that this listing be kept in ascii order, otherwise the binary | ||
| 9 | * search lookup contributed by Gaute B Strokkenes stops working. If you value | ||
| 10 | * your kneecaps, you'll be sure to *make sure* that any changes made to this | ||
| 11 | * file result in the listing remaining in ascii order. You have been warned. | ||
| 12 | */ | 7 | */ |
| 13 | 8 | ||
| 14 | /* | 9 | /* |
| @@ -36,16 +31,16 @@ s - suid type: | |||
| 36 | # define APPLET_NOFORK(name,main,l,s,name2) name main##_main name2 | 31 | # define APPLET_NOFORK(name,main,l,s,name2) name main##_main name2 |
| 37 | 32 | ||
| 38 | #elif defined(MAKE_USAGE) && ENABLE_FEATURE_VERBOSE_USAGE | 33 | #elif defined(MAKE_USAGE) && ENABLE_FEATURE_VERBOSE_USAGE |
| 39 | # define APPLET(name,l,s) name##_trivial_usage name##_full_usage "\0" | 34 | # define APPLET(name,l,s) MAKE_USAGE(#name, name##_trivial_usage name##_full_usage) |
| 40 | # define APPLET_ODDNAME(name,main,l,s,name2) name2##_trivial_usage name2##_full_usage "\0" | 35 | # define APPLET_ODDNAME(name,main,l,s,name2) MAKE_USAGE(#name, name2##_trivial_usage name2##_full_usage) |
| 41 | # define APPLET_NOEXEC(name,main,l,s,name2) name2##_trivial_usage name2##_full_usage "\0" | 36 | # define APPLET_NOEXEC(name,main,l,s,name2) MAKE_USAGE(#name, name2##_trivial_usage name2##_full_usage) |
| 42 | # define APPLET_NOFORK(name,main,l,s,name2) name2##_trivial_usage name2##_full_usage "\0" | 37 | # define APPLET_NOFORK(name,main,l,s,name2) MAKE_USAGE(#name, name2##_trivial_usage name2##_full_usage) |
| 43 | 38 | ||
| 44 | #elif defined(MAKE_USAGE) && !ENABLE_FEATURE_VERBOSE_USAGE | 39 | #elif defined(MAKE_USAGE) && !ENABLE_FEATURE_VERBOSE_USAGE |
| 45 | # define APPLET(name,l,s) name##_trivial_usage "\0" | 40 | # define APPLET(name,l,s) MAKE_USAGE(#name, name##_trivial_usage) |
| 46 | # define APPLET_ODDNAME(name,main,l,s,name2) name2##_trivial_usage "\0" | 41 | # define APPLET_ODDNAME(name,main,l,s,name2) MAKE_USAGE(#name, name2##_trivial_usage) |
| 47 | # define APPLET_NOEXEC(name,main,l,s,name2) name2##_trivial_usage "\0" | 42 | # define APPLET_NOEXEC(name,main,l,s,name2) MAKE_USAGE(#name, name2##_trivial_usage) |
| 48 | # define APPLET_NOFORK(name,main,l,s,name2) name2##_trivial_usage "\0" | 43 | # define APPLET_NOFORK(name,main,l,s,name2) MAKE_USAGE(#name, name2##_trivial_usage) |
| 49 | 44 | ||
| 50 | #elif defined(MAKE_LINKS) | 45 | #elif defined(MAKE_LINKS) |
| 51 | # define APPLET(name,l,c) LINK l name | 46 | # define APPLET(name,l,c) LINK l name |
