From 724d196c75e097535d475528002518d5322868c6 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Wed, 10 Oct 2007 14:41:07 +0000 Subject: Move applets/applet.c into libbb, allows to get rid of --whole-archive (smaller code). Tested in static and shared mode. --- include/busybox.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/busybox.h') diff --git a/include/busybox.h b/include/busybox.h index 1ab51cf78..1c23b9bb0 100644 --- a/include/busybox.h +++ b/include/busybox.h @@ -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_ */ -- cgit v1.2.3