From e76c3b08e105147e3cef7e8d38d65da2fac6b2e1 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 5 Apr 2001 03:14:39 +0000 Subject: A number of cleanups. Now compiles with libc5, glibc, and uClibc. Fix a few shadowed variables. Move (almost) all syscalls to libbb/syscalls.c, so I can handle them sanely and all at once. -Erik --- modutils/rmmod.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'modutils/rmmod.c') diff --git a/modutils/rmmod.c b/modutils/rmmod.c index 36857e02c..7596d0232 100644 --- a/modutils/rmmod.c +++ b/modutils/rmmod.c @@ -26,16 +26,11 @@ #include #include #include -#include -#include #include "busybox.h" -#define __LIBRARY__ +extern int delete_module(const char * name); -/* And the system call of the day is... */ -_syscall1(int, delete_module, const char *, name) - extern int rmmod_main(int argc, char **argv) { int n, ret = EXIT_SUCCESS; -- cgit v1.2.3-55-g6feb