commit | 724d196c75e097535d475528002518d5322868c6 | [log] [tgz] |
---|---|---|
author | Denis Vlasenko <vda.linux@googlemail.com> | Wed Oct 10 14:41:07 2007 +0000 |
committer | Denis Vlasenko <vda.linux@googlemail.com> | Wed Oct 10 14:41:07 2007 +0000 |
tree | 94e4345625688d6071eacecf2bd1e87a9980e90f | |
parent | 82d38dab917754c9c37aaa7e414a47318b5082fe [diff] [blame] |
Move applets/applet.c into libbb, allows to get rid of --whole-archive (smaller code). Tested in static and shared mode.
diff --git a/include/busybox.h b/include/busybox.h index 1ab51cf..1c23b9b 100644 --- a/include/busybox.h +++ b/include/busybox.h
@@ -52,5 +52,8 @@ extern const struct bb_applet applets[]; extern const unsigned short NUM_APPLETS; void bbox_prepare_main(char **argv); +#if ENABLE_BUILD_LIBBUSYBOX +int libbusybox_main(int argc, char **argv); +#endif #endif /* _BB_INTERNAL_H_ */