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-w32-724d196c75e097535d475528002518d5322868c6.tar.gz busybox-w32-724d196c75e097535d475528002518d5322868c6.tar.bz2 busybox-w32-724d196c75e097535d475528002518d5322868c6.zip |
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 { | |||
52 | extern const struct bb_applet applets[]; | 52 | extern const struct bb_applet applets[]; |
53 | extern const unsigned short NUM_APPLETS; | 53 | extern const unsigned short NUM_APPLETS; |
54 | void bbox_prepare_main(char **argv); | 54 | void bbox_prepare_main(char **argv); |
55 | #if ENABLE_BUILD_LIBBUSYBOX | ||
56 | int libbusybox_main(int argc, char **argv); | ||
57 | #endif | ||
55 | 58 | ||
56 | #endif /* _BB_INTERNAL_H_ */ | 59 | #endif /* _BB_INTERNAL_H_ */ |