From 703e20235aa0624d3ff4335c1e86edaa6e21efe2 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 22 Jan 2007 14:12:08 +0000 Subject: cleanups: unnecessary casts, unified const_1, eliminate cross-.c file prototypes (heresy!), add spaces in places like "flags&NETSTAT_CONNECTED", removed unused #defines, #ifdef -> #if, use uint32_t for ipv4 addrs. --- include/libbb.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') diff --git a/include/libbb.h b/include/libbb.h index c1c9486c4..cd192b9eb 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -486,6 +486,9 @@ extern void bb_vinfo_msg(const char *s, va_list p); extern int bb_cat(char** argv); extern int bb_echo(char** argv); extern int bb_test(int argc, char** argv); +#if ENABLE_ROUTE +extern void bb_displayroutes(int noresolve, int netstatfmt); +#endif /* Networking */ @@ -740,6 +743,9 @@ extern const char bb_path_motd_file[]; extern const char bb_path_wtmp_file[]; extern const char bb_dev_null[]; +extern const int const_int_0; +extern const int const_int_1; + #ifndef BUFSIZ #define BUFSIZ 4096 #endif -- cgit v1.2.3