diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-01 22:36:39 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-01 22:36:39 +0000 |
commit | cd2663f15e74274619dd97dc382bb858ac255872 (patch) | |
tree | f86565e574c3488794383b910b9f3fa3ae27df48 /include/libbb.h | |
parent | d78920675f31d6ec87dc883c4edc0f3862b22f6a (diff) | |
download | busybox-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.h | 9 |
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 */ |
882 | int bb_cat(char** argv); | 882 | int 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 */ |
884 | int echo_main(int argc, char** argv) USE_ECHO(MAIN_EXTERNALLY_VISIBLE); | 884 | int echo_main(int argc, char** argv) USE_ECHO(MAIN_EXTERNALLY_VISIBLE); |
885 | int printf_main(int argc, char **argv) USE_PRINTF(MAIN_EXTERNALLY_VISIBLE); | ||
885 | int test_main(int argc, char **argv) USE_TEST(MAIN_EXTERNALLY_VISIBLE); | 886 | int test_main(int argc, char **argv) USE_TEST(MAIN_EXTERNALLY_VISIBLE); |
886 | int kill_main(int argc, char **argv) USE_KILL(MAIN_EXTERNALLY_VISIBLE); | 887 | int kill_main(int argc, char **argv) USE_KILL(MAIN_EXTERNALLY_VISIBLE); |
887 | int chown_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; | 888 | /* Similar, but used by chgrp, not shell */ |
889 | int chown_main(int argc, char **argv) USE_CHOWN(MAIN_EXTERNALLY_VISIBLE); | ||
890 | /* Don't need USE_xxx() guard for these */ | ||
888 | int gunzip_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; | 891 | int gunzip_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; |
889 | int bunzip2_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; | 892 | int bunzip2_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; |
890 | int bbunpack(char **argv, | 893 | int bbunpack(char **argv, |