summaryrefslogtreecommitdiff
path: root/include/libbb.h
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-06-01 22:36:39 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-06-01 22:36:39 +0000
commitcd2663f15e74274619dd97dc382bb858ac255872 (patch)
treef86565e574c3488794383b910b9f3fa3ae27df48 /include/libbb.h
parentd78920675f31d6ec87dc883c4edc0f3862b22f6a (diff)
downloadbusybox-w32-cd2663f15e74274619dd97dc382bb858ac255872.tar.gz
busybox-w32-cd2663f15e74274619dd97dc382bb858ac255872.tar.bz2
busybox-w32-cd2663f15e74274619dd97dc382bb858ac255872.zip
ash: optional printf builtin. +25 bytes if off, +35 if on.
by Cristian Ionescu-Idbohrn.
Diffstat (limited to 'include/libbb.h')
-rw-r--r--include/libbb.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 947f28d79..c79cd8b20 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -878,13 +878,16 @@ extern void bb_verror_msg(const char *s, va_list p, const char *strerr);
878#endif 878#endif
879 879
880 880
881/* applets which are useful from another applets */ 881/* Applets which are useful from another applets */
882int bb_cat(char** argv); 882int bb_cat(char** argv);
883/* If shell needs them, these three "exist" even if not enabled as applets */ 883/* If shell needs them, they exist even if not enabled as applets */
884int echo_main(int argc, char** argv) USE_ECHO(MAIN_EXTERNALLY_VISIBLE); 884int echo_main(int argc, char** argv) USE_ECHO(MAIN_EXTERNALLY_VISIBLE);
885int printf_main(int argc, char **argv) USE_PRINTF(MAIN_EXTERNALLY_VISIBLE);
885int test_main(int argc, char **argv) USE_TEST(MAIN_EXTERNALLY_VISIBLE); 886int test_main(int argc, char **argv) USE_TEST(MAIN_EXTERNALLY_VISIBLE);
886int kill_main(int argc, char **argv) USE_KILL(MAIN_EXTERNALLY_VISIBLE); 887int kill_main(int argc, char **argv) USE_KILL(MAIN_EXTERNALLY_VISIBLE);
887int chown_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 888/* Similar, but used by chgrp, not shell */
889int chown_main(int argc, char **argv) USE_CHOWN(MAIN_EXTERNALLY_VISIBLE);
890/* Don't need USE_xxx() guard for these */
888int gunzip_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 891int gunzip_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
889int bunzip2_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 892int bunzip2_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
890int bbunpack(char **argv, 893int bbunpack(char **argv,