Move applets/applet.c into libbb, allows to get rid of --whole-archive

(smaller code). Tested in static and shared mode.
This commit is contained in:
Denis Vlasenko
2007-10-10 14:41:07 +00:00
parent 82d38dab91
commit 724d196c75
4 changed files with 566 additions and 548 deletions

View File

@ -52,5 +52,8 @@ struct bb_applet {
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_ */