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:
1 parent
6cd2d2bcba
commit
703e20235a
17 files changed
+231
-260
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user