summaryrefslogtreecommitdiff
path: root/include/busybox.h
diff options
context:
space:
mode:
authorEric Andersen2001-02-22 01:15:47 +0000
committerEric Andersen2001-02-22 01:15:47 +0000
commit7e9276b50a7aa948b2b4fe093e4049bbece4699c (patch)
treed20a5e4a07ec079ffd40ee587b12a0b65fdf2eb4 /include/busybox.h
parent8fc300976f5a06d98f8be3e1798b5bc8da868e02 (diff)
downloadbusybox-7e9276b50a7aa948b2b4fe093e4049bbece4699c.zip
busybox-7e9276b50a7aa948b2b4fe093e4049bbece4699c.tar.gz
Another update to the way usage messages are done by Evin Robertson
<nitfol@my-deja.com>, which makes things just a little bit smaller, but makes usage.h more readable/maintainable IMHO. -Erik
Diffstat (limited to 'include/busybox.h')
-rw-r--r--include/busybox.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/busybox.h b/include/busybox.h
index aef537b..692a908 100644
--- a/include/busybox.h
+++ b/include/busybox.h
@@ -72,7 +72,6 @@ struct BB_applet {
const char* name;
int (*main)(int argc, char** argv);
enum Location location;
- int usage_index;
};
/* From busybox.c */
extern const struct BB_applet applets[];
@@ -87,12 +86,6 @@ extern const struct BB_applet applets[];
#include "applets.h"
#undef PROTOTYPES
-#define APPLET_ENUM
-enum APPLET_INDEX_NUMBERS {
-#include "applets.h"
-};
-#undef APPLET_ENUM
-
extern const char *applet_name;
extern void show_usage(void) __attribute__ ((noreturn));