diff options
author | pgf <pgf@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-08-09 19:38:05 +0000 |
---|---|---|
committer | pgf <pgf@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-08-09 19:38:05 +0000 |
commit | 3832c8463134a14ed87f6a267327412a91ee45b9 (patch) | |
tree | d5f722c5d16a204996e46c84e8fe7923f8f40abf /include | |
parent | 9ed75acbe404efb10d292f5b1cd3fa9988846dea (diff) | |
download | busybox-w32-3832c8463134a14ed87f6a267327412a91ee45b9.tar.gz busybox-w32-3832c8463134a14ed87f6a267327412a91ee45b9.tar.bz2 busybox-w32-3832c8463134a14ed87f6a267327412a91ee45b9.zip |
implemented a builtin echo command in ash. moved the guts of the
echo applet into libbb, and now call bb_echo() from both echo.c
and ash.c
git-svn-id: svn://busybox.net/trunk/busybox@11083 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index a544465fe..d12860ca9 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -105,6 +105,8 @@ extern void bb_perror_nomsg(void); | |||
105 | extern void bb_verror_msg(const char *s, va_list p) __attribute__ ((format (printf, 1, 0))); | 105 | extern void bb_verror_msg(const char *s, va_list p) __attribute__ ((format (printf, 1, 0))); |
106 | extern void bb_vperror_msg(const char *s, va_list p) __attribute__ ((format (printf, 1, 0))); | 106 | extern void bb_vperror_msg(const char *s, va_list p) __attribute__ ((format (printf, 1, 0))); |
107 | 107 | ||
108 | extern int bb_echo(int argc, char** argv); | ||
109 | |||
108 | extern const char *bb_mode_string(int mode); | 110 | extern const char *bb_mode_string(int mode); |
109 | extern int is_directory(const char *name, int followLinks, struct stat *statBuf); | 111 | extern int is_directory(const char *name, int followLinks, struct stat *statBuf); |
110 | 112 | ||