diff options
Diffstat (limited to 'modutils')
-rw-r--r-- | modutils/insmod.c | 4 | ||||
-rw-r--r-- | modutils/lsmod.c | 4 | ||||
-rw-r--r-- | modutils/modprobe.c | 2 | ||||
-rw-r--r-- | modutils/rmmod.c | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/modutils/insmod.c b/modutils/insmod.c index 14322d9..8b11278 100644 --- a/modutils/insmod.c +++ b/modutils/insmod.c @@ -3903,7 +3903,7 @@ static void print_load_map(struct obj_file *f) #endif -extern int insmod_main( int argc, char **argv) +int insmod_main( int argc, char **argv) { int opt; int len; @@ -4267,7 +4267,7 @@ static const char *moderror(int err) } } -extern int insmod_ng_main( int argc, char **argv) +int insmod_ng_main( int argc, char **argv) { int i; int fd; diff --git a/modutils/lsmod.c b/modutils/lsmod.c index 018bc53..82136dd 100644 --- a/modutils/lsmod.c +++ b/modutils/lsmod.c @@ -97,7 +97,7 @@ static const int NEW_MOD_VISITED = 8; static const int NEW_MOD_USED_ONCE = 16; static const int NEW_MOD_INITIALIZING = 64; -extern int lsmod_main(int argc, char **argv) +int lsmod_main(int argc, char **argv) { struct module_info info; char *module_names, *mn, *deps, *dn; @@ -160,7 +160,7 @@ extern int lsmod_main(int argc, char **argv) #else /* CONFIG_FEATURE_QUERY_MODULE_INTERFACE */ -extern int lsmod_main(int argc, char **argv) +int lsmod_main(int argc, char **argv) { printf("Module Size Used by"); check_tainted(); diff --git a/modutils/modprobe.c b/modutils/modprobe.c index d04c7ff..c161515 100644 --- a/modutils/modprobe.c +++ b/modutils/modprobe.c @@ -823,7 +823,7 @@ static int mod_remove ( char *mod ) } -extern int modprobe_main(int argc, char** argv) +int modprobe_main(int argc, char** argv) { int rc = EXIT_SUCCESS; char *unused; diff --git a/modutils/rmmod.c b/modutils/rmmod.c index 44c606e..5302ab2 100644 --- a/modutils/rmmod.c +++ b/modutils/rmmod.c @@ -55,7 +55,7 @@ static inline void filename2modname(char *modname, const char *afterslash) } #endif -extern int rmmod_main(int argc, char **argv) +int rmmod_main(int argc, char **argv) { int n, ret = EXIT_SUCCESS; unsigned int flags = O_NONBLOCK|O_EXCL; |