aboutsummaryrefslogtreecommitdiff
path: root/modutils/rmmod.c
diff options
context:
space:
mode:
Diffstat (limited to 'modutils/rmmod.c')
-rw-r--r--modutils/rmmod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modutils/rmmod.c b/modutils/rmmod.c
index 44c606e47..5302ab222 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;