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.
This commit is contained in:
Denis Vlasenko
2007-01-22 14:12:08 +00:00
parent 6cd2d2bcba
commit 703e20235a
17 changed files with 231 additions and 260 deletions

View File

@ -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