summaryrefslogtreecommitdiff
path: root/include/busybox.h
diff options
context:
space:
mode:
authorDenis Vlasenko2007-10-10 14:41:07 +0000
committerDenis Vlasenko2007-10-10 14:41:07 +0000
commit724d196c75e097535d475528002518d5322868c6 (patch)
tree94e4345625688d6071eacecf2bd1e87a9980e90f /include/busybox.h
parent82d38dab917754c9c37aaa7e414a47318b5082fe (diff)
downloadbusybox-724d196c75e097535d475528002518d5322868c6.zip
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/busybox.h')
-rw-r--r--include/busybox.h3
1 files changed, 3 insertions, 0 deletions
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 @@ 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_ */