diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-10-10 14:41:07 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-10-10 14:41:07 +0000 |
commit | 724d196c75e097535d475528002518d5322868c6 (patch) | |
tree | 94e4345625688d6071eacecf2bd1e87a9980e90f /include | |
parent | 82d38dab917754c9c37aaa7e414a47318b5082fe (diff) | |
download | busybox-724d196c75e097535d475528002518d5322868c6.tar.gz |
Move applets/applet.c into libbb, allows to get rid of --whole-archive
(smaller code). Tested in static and shared mode.
Diffstat (limited to 'include')
-rw-r--r-- | include/busybox.h | 3 |
1 files changed, 3 insertions, 0 deletions
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_ */ |