projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove yet more kernel header dependancies.
[oweals/busybox.git]
/
insmod.c
diff --git
a/insmod.c
b/insmod.c
index 75058b959a4926307a9e633fe2576fe59b4f3ece..469d056d3364c40fcc1dac050fa871a32f49554f 100644
(file)
--- a/
insmod.c
+++ b/
insmod.c
@@
-38,9
+38,9
@@
#include <dirent.h>
#include <ctype.h>
#include <assert.h>
#include <dirent.h>
#include <ctype.h>
#include <assert.h>
+#include <getopt.h>
#include <sys/utsname.h>
#include <sys/syscall.h>
#include <sys/utsname.h>
#include <sys/syscall.h>
-#include <linux/unistd.h>
//----------------------------------------------------------------------------
//--------modutils module.h, lines 45-242
//----------------------------------------------------------------------------
//--------modutils module.h, lines 45-242
@@
-71,7
+71,7
@@
#ifndef MODUTILS_MODULE_H
#define MODUTILS_MODULE_H 1
#ifndef MODUTILS_MODULE_H
#define MODUTILS_MODULE_H 1
-#ident "$Id: insmod.c,v 1.1
2 2000/07/08 18:55:2
4 andersen Exp $"
+#ident "$Id: insmod.c,v 1.1
4 2000/07/10 20:08:4
4 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
/* 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
+277,7
@@
int delete_module(const char *);
#ifndef MODUTILS_OBJ_H
#define MODUTILS_OBJ_H 1
#ifndef MODUTILS_OBJ_H
#define MODUTILS_OBJ_H 1
-#ident "$Id: insmod.c,v 1.1
2 2000/07/08 18:55:2
4 andersen Exp $"
+#ident "$Id: insmod.c,v 1.1
4 2000/07/10 20:08:4
4 andersen Exp $"
/* The relocatable object is manipulated using elfin types. */
/* The relocatable object is manipulated using elfin types. */