aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorpgf <pgf@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-06-08 21:37:26 +0000
committerpgf <pgf@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-06-08 21:37:26 +0000
commitdc3b7958d75c261b988db308963da8e85792ace7 (patch)
tree5f109ab555b2e3ca7df717cd7590058ab12d54c1 /include
parent0b623f284cee0ef504cda61a8c8338c2acdb0082 (diff)
downloadbusybox-w32-dc3b7958d75c261b988db308963da8e85792ace7.tar.gz
busybox-w32-dc3b7958d75c261b988db308963da8e85792ace7.tar.bz2
busybox-w32-dc3b7958d75c261b988db308963da8e85792ace7.zip
made "test" an ash built-in.
moved the contents of libbb/bb_echo.c back into coreutils/echo.c, which is a more reasonable place for them than libbb. this forces anyone who wants echo and test to be builtin to ash to also have them available as applets. their cost is very small, and the number of people who wouldn't want them as applets is also very small. added warning about shell builtins vs. CONFIG_FEATURE_SH_STANDALONE_SHELL, which conflicts with their use. thanks to nathanael copa for debugging help. some string size optimization in test.c may have been lost with this commit, but this is a good new baseline. git-svn-id: svn://busybox.net/trunk/busybox@15344 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h
index accc08ddf..b93b7a618 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -118,6 +118,7 @@ extern void bb_verror_msg(const char *s, va_list p) __attribute__ ((format (prin
118extern void bb_vperror_msg(const char *s, va_list p) __attribute__ ((format (printf, 1, 0))); 118extern void bb_vperror_msg(const char *s, va_list p) __attribute__ ((format (printf, 1, 0)));
119 119
120extern int bb_echo(int argc, char** argv); 120extern int bb_echo(int argc, char** argv);
121extern int bb_test(int argc, char** argv);
121 122
122extern const char *bb_mode_string(int mode); 123extern const char *bb_mode_string(int mode);
123extern int is_directory(const char *name, int followLinks, struct stat *statBuf); 124extern int is_directory(const char *name, int followLinks, struct stat *statBuf);