aboutsummaryrefslogtreecommitdiff
path: root/modutils/lsmod.c
diff options
context:
space:
mode:
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 018bc5323..82136dd0f 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();