Another update from Larry:
[oweals/busybox.git] / rmmod.c
diff --git a/rmmod.c b/rmmod.c
index 36857e02c3e922f5cb5907e6b466fc208d73e66a..7596d023237bf36cf46684659d06320fa685c4a4 100644 (file)
--- a/rmmod.c
+++ b/rmmod.c
 #include <unistd.h>
 #include <stdlib.h>
 #include <getopt.h>
-#include <sys/syscall.h>
-#include <linux/unistd.h>
 #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;