From 06af2165288cd6516b89001ec9e24992619230e0 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sat, 3 Feb 2007 17:28:39 +0000 Subject: suppress warnings about easch _main() having no preceding prototype --- include/libbb.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/libbb.h b/include/libbb.h index 85afdf20a..d7332714f 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -495,11 +495,14 @@ extern void bb_vinfo_msg(const char *s, va_list p); /* applets which are useful from another applets */ -extern int bb_cat(char** argv); -extern int bb_echo(char** argv); -extern int bb_test(int argc, char** argv); +int bb_cat(char** argv); +int bb_echo(char** argv); +int bb_test(int argc, char** argv); #if ENABLE_ROUTE -extern void bb_displayroutes(int noresolve, int netstatfmt); +void bb_displayroutes(int noresolve, int netstatfmt); +#endif +#if ENABLE_GUNZIP +int gunzip_main(int argc, char **argv); #endif -- cgit v1.2.3