diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-04-06 14:28:35 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-04-06 14:28:35 +0000 |
commit | 674b08a6b8ce0b3b1c26d9f326fb2e59bd8dc1e8 (patch) | |
tree | 033bb02dd76c0128a2fe839126ed692515d133ab /applets/applets.c | |
parent | 7e496a71cfe54f192508427f9c8ea5be764952bd (diff) | |
download | busybox-w32-674b08a6b8ce0b3b1c26d9f326fb2e59bd8dc1e8.tar.gz busybox-w32-674b08a6b8ce0b3b1c26d9f326fb2e59bd8dc1e8.tar.bz2 busybox-w32-674b08a6b8ce0b3b1c26d9f326fb2e59bd8dc1e8.zip |
Fix it so usage is _always_ in sync with applets.c. Previously,
broken depends allowed these to get out of sync.
Diffstat (limited to 'applets/applets.c')
-rw-r--r-- | applets/applets.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/applets/applets.c b/applets/applets.c index 7d8adfb65..d370e6a00 100644 --- a/applets/applets.c +++ b/applets/applets.c | |||
@@ -32,11 +32,22 @@ | |||
32 | #include <assert.h> | 32 | #include <assert.h> |
33 | #include "busybox.h" | 33 | #include "busybox.h" |
34 | 34 | ||
35 | const char usage_messages[] = | ||
36 | |||
37 | #define MAKE_USAGE | ||
38 | #include "usage.h" | ||
39 | |||
40 | #include "applets.h" | ||
41 | |||
42 | ; | ||
43 | |||
44 | #undef MAKE_USAGE | ||
35 | #undef APPLET | 45 | #undef APPLET |
36 | #undef APPLET_NOUSAGE | 46 | #undef APPLET_NOUSAGE |
37 | #undef PROTOTYPES | 47 | #undef PROTOTYPES |
38 | #include "applets.h" | 48 | #include "applets.h" |
39 | 49 | ||
50 | |||
40 | static struct BB_applet *applet_using; | 51 | static struct BB_applet *applet_using; |
41 | 52 | ||
42 | /* The -1 arises because of the {0,NULL,0,-1} entry above. */ | 53 | /* The -1 arises because of the {0,NULL,0,-1} entry above. */ |