summaryrefslogtreecommitdiff
path: root/modutils
diff options
context:
space:
mode:
authorEric Andersen2000-07-11 17:52:22 +0000
committerEric Andersen2000-07-11 17:52:22 +0000
commitbe909b1cd5a41c47e5c3a720a53651a81e158c68 (patch)
tree1b1ebb3e0da7174a0514440316c6c667047893b7 /modutils
parentd006c9e6307c654f5a9110d37994d4ff3ddcd6a1 (diff)
downloadbusybox-be909b1cd5a41c47e5c3a720a53651a81e158c68.zip
busybox-be909b1cd5a41c47e5c3a720a53651a81e158c68.tar.gz
Forgot to commit these cleanups it seems.
-Erik
Diffstat (limited to 'modutils')
-rw-r--r--modutils/insmod.c5
-rw-r--r--modutils/rmmod.c2
2 files changed, 2 insertions, 5 deletions
diff --git a/modutils/insmod.c b/modutils/insmod.c
index 469d056..7e90dfb 100644
--- a/modutils/insmod.c
+++ b/modutils/insmod.c
@@ -40,7 +40,6 @@
#include <assert.h>
#include <getopt.h>
#include <sys/utsname.h>
-#include <sys/syscall.h>
//----------------------------------------------------------------------------
//--------modutils module.h, lines 45-242
@@ -71,7 +70,7 @@
#ifndef MODUTILS_MODULE_H
#define MODUTILS_MODULE_H 1
-#ident "$Id: insmod.c,v 1.14 2000/07/10 20:08:44 andersen Exp $"
+#ident "$Id: insmod.c,v 1.15 2000/07/11 17:52:22 andersen Exp $"
/* This file contains the structures used by the 2.0 and 2.1 kernels.
We do not use the kernel headers directly because we do not wish
@@ -277,7 +276,7 @@ int delete_module(const char *);
#ifndef MODUTILS_OBJ_H
#define MODUTILS_OBJ_H 1
-#ident "$Id: insmod.c,v 1.14 2000/07/10 20:08:44 andersen Exp $"
+#ident "$Id: insmod.c,v 1.15 2000/07/11 17:52:22 andersen Exp $"
/* The relocatable object is manipulated using elfin types. */
diff --git a/modutils/rmmod.c b/modutils/rmmod.c
index a73d789..3158686 100644
--- a/modutils/rmmod.c
+++ b/modutils/rmmod.c
@@ -26,8 +26,6 @@
#include <errno.h>
#include <unistd.h>
#define __LIBRARY__
-#include <asm/unistd.h>
-/* #include <sys/syscall.h> */