diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-02-03 20:27:14 +0300 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-02-03 20:27:14 +0300 |
commit | c7ba8b9d6c926231c1c191136b1ea0bc14b87771 (patch) | |
tree | e769e525c40a77516dfbd90d320412fa1e73459f /include/busybox.h | |
parent | 6a1829d90c04e9fa6f5a836d043105bd34b60ecf (diff) |
do not put all <applet>_main() declarations
in busybox.h - this produces false dependencies
Diffstat (limited to 'include/busybox.h')
-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 { __extension__ enum SUIDRoot need_suid:4; }; -/* From busybox.c and applet.c */ +/* Defined in busybox.c and applet.c */ extern int busybox_main(int argc, char **argv); extern const struct BB_applet applets[]; extern const unsigned short NUM_APPLETS; -/* Automagically pull in all the applet function prototypes and - * applet usage strings. These are all of the form: - * extern int foo_main(int argc, char **argv); - * extern const char foo_usage[]; - * These are all autogenerated from the set of currently defined applets. - */ -#define PROTOTYPES -#include "applets.h" -#undef PROTOTYPES - -#endif /* _BB_INTERNAL_H_ */ +#endif /* _BB_INTERNAL_H_ */ |