summaryrefslogtreecommitdiff
path: root/modutils
diff options
context:
space:
mode:
authorEric Andersen2001-02-20 06:14:08 +0000
committerEric Andersen2001-02-20 06:14:08 +0000
commitcbe31dace5fb24304694d399b9eb267fbe752516 (patch)
tree49d1bb722d95eb1aded6b5d354ac86e56c481c10 /modutils
parent94456f598417f2f61edb97b5ab67ddfdc408ad10 (diff)
downloadbusybox-cbe31dace5fb24304694d399b9eb267fbe752516.zip
busybox-cbe31dace5fb24304694d399b9eb267fbe752516.tar.gz
It turns out that DODMALLOC was broken when I reorganized busybox.h
header file usage before the 0.49 release. To fix it, I had to move the '#include "busybox.h"' to the end of the list of #include files. -Erik
Diffstat (limited to 'modutils')
-rw-r--r--modutils/insmod.c6
-rw-r--r--modutils/lsmod.c2
-rw-r--r--modutils/rmmod.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/modutils/insmod.c b/modutils/insmod.c
index 5827352..166f0fc 100644
--- a/modutils/insmod.c
+++ b/modutils/insmod.c
@@ -37,7 +37,6 @@
*
*/
-#include "busybox.h"
#include <stdlib.h>
#include <stdio.h>
#include <stddef.h>
@@ -51,6 +50,7 @@
#include <sys/utsname.h>
#include <sys/syscall.h>
#include <linux/unistd.h>
+#include "busybox.h"
//----------------------------------------------------------------------------
//--------modutils module.h, lines 45-242
@@ -81,7 +81,7 @@
#ifndef MODUTILS_MODULE_H
static const int MODUTILS_MODULE_H = 1;
-#ident "$Id: insmod.c,v 1.47 2001/02/15 19:07:43 andersen Exp $"
+#ident "$Id: insmod.c,v 1.48 2001/02/20 06:14:07 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
@@ -287,7 +287,7 @@ int delete_module(const char *);
#ifndef MODUTILS_OBJ_H
static const int MODUTILS_OBJ_H = 1;
-#ident "$Id: insmod.c,v 1.47 2001/02/15 19:07:43 andersen Exp $"
+#ident "$Id: insmod.c,v 1.48 2001/02/20 06:14:07 andersen Exp $"
/* The relocatable object is manipulated using elfin types. */
diff --git a/modutils/lsmod.c b/modutils/lsmod.c
index f39cbc0..c97d199 100644
--- a/modutils/lsmod.c
+++ b/modutils/lsmod.c
@@ -25,7 +25,6 @@
*
*/
-#include "busybox.h"
#include <stdlib.h>
#include <stdio.h>
#include <stddef.h>
@@ -37,6 +36,7 @@
#include <getopt.h>
#include <sys/utsname.h>
#include <sys/file.h>
+#include "busybox.h"
diff --git a/modutils/rmmod.c b/modutils/rmmod.c
index 7d4538e..aab3261 100644
--- a/modutils/rmmod.c
+++ b/modutils/rmmod.c
@@ -21,13 +21,13 @@
*
*/
-#include "busybox.h"
#include <stdio.h>
#include <errno.h>
#include <unistd.h>
#include <stdlib.h>
#include <sys/syscall.h>
#include <linux/unistd.h>
+#include "busybox.h"
#define __LIBRARY__