diff options
Diffstat (limited to 'insmod.c')
-rw-r--r-- | insmod.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -46,8 +46,11 @@ | |||
46 | #include <dirent.h> | 46 | #include <dirent.h> |
47 | #include <ctype.h> | 47 | #include <ctype.h> |
48 | #include <assert.h> | 48 | #include <assert.h> |
49 | #include <string.h> | ||
49 | #include <getopt.h> | 50 | #include <getopt.h> |
50 | #include <sys/utsname.h> | 51 | #include <sys/utsname.h> |
52 | #include <sys/syscall.h> | ||
53 | #include <linux/unistd.h> | ||
51 | 54 | ||
52 | //---------------------------------------------------------------------------- | 55 | //---------------------------------------------------------------------------- |
53 | //--------modutils module.h, lines 45-242 | 56 | //--------modutils module.h, lines 45-242 |
@@ -78,7 +81,7 @@ | |||
78 | #ifndef MODUTILS_MODULE_H | 81 | #ifndef MODUTILS_MODULE_H |
79 | static const int MODUTILS_MODULE_H = 1; | 82 | static const int MODUTILS_MODULE_H = 1; |
80 | 83 | ||
81 | #ident "$Id: insmod.c,v 1.42 2001/01/26 02:23:57 andersen Exp $" | 84 | #ident "$Id: insmod.c,v 1.43 2001/01/27 08:24:37 andersen Exp $" |
82 | 85 | ||
83 | /* This file contains the structures used by the 2.0 and 2.1 kernels. | 86 | /* This file contains the structures used by the 2.0 and 2.1 kernels. |
84 | We do not use the kernel headers directly because we do not wish | 87 | We do not use the kernel headers directly because we do not wish |
@@ -284,7 +287,7 @@ int delete_module(const char *); | |||
284 | #ifndef MODUTILS_OBJ_H | 287 | #ifndef MODUTILS_OBJ_H |
285 | static const int MODUTILS_OBJ_H = 1; | 288 | static const int MODUTILS_OBJ_H = 1; |
286 | 289 | ||
287 | #ident "$Id: insmod.c,v 1.42 2001/01/26 02:23:57 andersen Exp $" | 290 | #ident "$Id: insmod.c,v 1.43 2001/01/27 08:24:37 andersen Exp $" |
288 | 291 | ||
289 | /* The relocatable object is manipulated using elfin types. */ | 292 | /* The relocatable object is manipulated using elfin types. */ |
290 | 293 | ||