From 0b62158475ecbfce16fb857042ec7f402d7594ec Mon Sep 17 00:00:00 2001 From: Paul Fox Date: Tue, 9 Aug 2005 19:38:05 +0000 Subject: 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 --- include/libbb.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/libbb.h') 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); extern void bb_verror_msg(const char *s, va_list p) __attribute__ ((format (printf, 1, 0))); extern void bb_vperror_msg(const char *s, va_list p) __attribute__ ((format (printf, 1, 0))); +extern int bb_echo(int argc, char** argv); + extern const char *bb_mode_string(int mode); extern int is_directory(const char *name, int followLinks, struct stat *statBuf); -- cgit v1.2.3