diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/busybox.h | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/include/busybox.h b/include/busybox.h index a1139b5aa..76ff7b76a 100644 --- a/include/busybox.h +++ b/include/busybox.h | |||
@@ -31,19 +31,9 @@ struct BB_applet { | |||
31 | __extension__ enum SUIDRoot need_suid:4; | 31 | __extension__ enum SUIDRoot need_suid:4; |
32 | }; | 32 | }; |
33 | 33 | ||
34 | /* From busybox.c and applet.c */ | 34 | /* Defined in busybox.c and applet.c */ |
35 | extern int busybox_main(int argc, char **argv); | 35 | extern int busybox_main(int argc, char **argv); |
36 | extern const struct BB_applet applets[]; | 36 | extern const struct BB_applet applets[]; |
37 | extern const unsigned short NUM_APPLETS; | 37 | extern const unsigned short NUM_APPLETS; |
38 | 38 | ||
39 | /* Automagically pull in all the applet function prototypes and | 39 | #endif /* _BB_INTERNAL_H_ */ |
40 | * applet usage strings. These are all of the form: | ||
41 | * extern int foo_main(int argc, char **argv); | ||
42 | * extern const char foo_usage[]; | ||
43 | * These are all autogenerated from the set of currently defined applets. | ||
44 | */ | ||
45 | #define PROTOTYPES | ||
46 | #include "applets.h" | ||
47 | #undef PROTOTYPES | ||
48 | |||
49 | #endif /* _BB_INTERNAL_H_ */ | ||