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

@@ -337,7 +337,6 @@ extern int insmod_ng_main( int argc, char **argv);
#ifndef MODUTILS_MODULE_H
/* Why? static const int MODUTILS_MODULE_H = 1;*/
/*======================================================================*/
/* For sizeof() which are related to the module platform and not to the
@@ -494,7 +493,6 @@ int delete_module(const char *);
#ifndef MODUTILS_OBJ_H
/* Why? static const int MODUTILS_OBJ_H = 1; */
/* The relocatable object is manipulated using elfin types. */