summaryrefslogtreecommitdiff
path: root/modutils/lsmod.c
diff options
context:
space:
mode:
authorRob Landley2006-03-06 20:47:33 +0000
committerRob Landley2006-03-06 20:47:33 +0000
commitdfba741457cc81eb2ed3a9d4c074fbad74aa3249 (patch)
tree588d140a71e857cb32c80d1faad6f3073b119aa7 /modutils/lsmod.c
parent1f5e25bf3eca768b8cee1c689ac154d8f51662f9 (diff)
downloadbusybox-dfba741457cc81eb2ed3a9d4c074fbad74aa3249.zip
busybox-dfba741457cc81eb2ed3a9d4c074fbad74aa3249.tar.gz
Robert P. Day removed 8 gazillion occurrences of "extern" on function
definitions. (That should only be on prototypes.)
Diffstat (limited to 'modutils/lsmod.c')
-rw-r--r--modutils/lsmod.c4
1 files changed, 2 insertions, 2 deletions
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();