From 7e9276b50a7aa948b2b4fe093e4049bbece4699c Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 22 Feb 2001 01:15:47 +0000 Subject: Another update to the way usage messages are done by Evin Robertson , which makes things just a little bit smaller, but makes usage.h more readable/maintainable IMHO. -Erik --- busybox.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'busybox.h') diff --git a/busybox.h b/busybox.h index aef537b2b..692a9084e 100644 --- a/busybox.h +++ b/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)); -- cgit v1.2.3