diff options
Diffstat (limited to 'modutils')
-rw-r--r-- | modutils/insmod.c | 5 | ||||
-rw-r--r-- | modutils/rmmod.c | 2 |
2 files changed, 2 insertions, 5 deletions
diff --git a/modutils/insmod.c b/modutils/insmod.c index 469d056d3..7e90dfbd9 100644 --- a/modutils/insmod.c +++ b/modutils/insmod.c | |||
@@ -40,7 +40,6 @@ | |||
40 | #include <assert.h> | 40 | #include <assert.h> |
41 | #include <getopt.h> | 41 | #include <getopt.h> |
42 | #include <sys/utsname.h> | 42 | #include <sys/utsname.h> |
43 | #include <sys/syscall.h> | ||
44 | 43 | ||
45 | //---------------------------------------------------------------------------- | 44 | //---------------------------------------------------------------------------- |
46 | //--------modutils module.h, lines 45-242 | 45 | //--------modutils module.h, lines 45-242 |
@@ -71,7 +70,7 @@ | |||
71 | #ifndef MODUTILS_MODULE_H | 70 | #ifndef MODUTILS_MODULE_H |
72 | #define MODUTILS_MODULE_H 1 | 71 | #define MODUTILS_MODULE_H 1 |
73 | 72 | ||
74 | #ident "$Id: insmod.c,v 1.14 2000/07/10 20:08:44 andersen Exp $" | 73 | #ident "$Id: insmod.c,v 1.15 2000/07/11 17:52:22 andersen Exp $" |
75 | 74 | ||
76 | /* This file contains the structures used by the 2.0 and 2.1 kernels. | 75 | /* This file contains the structures used by the 2.0 and 2.1 kernels. |
77 | We do not use the kernel headers directly because we do not wish | 76 | We do not use the kernel headers directly because we do not wish |
@@ -277,7 +276,7 @@ int delete_module(const char *); | |||
277 | #ifndef MODUTILS_OBJ_H | 276 | #ifndef MODUTILS_OBJ_H |
278 | #define MODUTILS_OBJ_H 1 | 277 | #define MODUTILS_OBJ_H 1 |
279 | 278 | ||
280 | #ident "$Id: insmod.c,v 1.14 2000/07/10 20:08:44 andersen Exp $" | 279 | #ident "$Id: insmod.c,v 1.15 2000/07/11 17:52:22 andersen Exp $" |
281 | 280 | ||
282 | /* The relocatable object is manipulated using elfin types. */ | 281 | /* The relocatable object is manipulated using elfin types. */ |
283 | 282 | ||
diff --git a/modutils/rmmod.c b/modutils/rmmod.c index a73d789f2..3158686f0 100644 --- a/modutils/rmmod.c +++ b/modutils/rmmod.c | |||
@@ -26,8 +26,6 @@ | |||
26 | #include <errno.h> | 26 | #include <errno.h> |
27 | #include <unistd.h> | 27 | #include <unistd.h> |
28 | #define __LIBRARY__ | 28 | #define __LIBRARY__ |
29 | #include <asm/unistd.h> | ||
30 | /* #include <sys/syscall.h> */ | ||
31 | 29 | ||
32 | 30 | ||
33 | 31 | ||