summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/compat/svr4/svr4_misc.c5
-rw-r--r--sys/svr4/svr4_misc.c5
2 files changed, 2 insertions, 8 deletions
diff --git a/sys/compat/svr4/svr4_misc.c b/sys/compat/svr4/svr4_misc.c
index 5b537c6..1d0065f 100644
--- a/sys/compat/svr4/svr4_misc.c
+++ b/sys/compat/svr4/svr4_misc.c
@@ -37,6 +37,7 @@
#include <sys/systm.h>
#include <sys/namei.h>
#include <sys/dirent.h>
+#include <sys/malloc.h>
#include <sys/proc.h>
#include <sys/file.h>
#include <sys/stat.h>
@@ -44,7 +45,6 @@
#include <sys/file.h>
#include <sys/filedesc.h>
#include <sys/kernel.h>
-#include <sys/malloc.h>
#include <sys/mbuf.h>
#include <sys/mman.h>
#include <sys/mount.h>
@@ -98,9 +98,6 @@
#define BSD_DIRENT(cp) ((struct dirent *)(cp))
-extern void *M_ZOMBIE;
-extern void *M_SUBPROC;
-
extern int bsd_to_svr4_sig[];
static int svr4_mknod __P((struct proc *, register_t *, char *,
svr4_mode_t, svr4_dev_t));
diff --git a/sys/svr4/svr4_misc.c b/sys/svr4/svr4_misc.c
index 5b537c6..1d0065f 100644
--- a/sys/svr4/svr4_misc.c
+++ b/sys/svr4/svr4_misc.c
@@ -37,6 +37,7 @@
#include <sys/systm.h>
#include <sys/namei.h>
#include <sys/dirent.h>
+#include <sys/malloc.h>
#include <sys/proc.h>
#include <sys/file.h>
#include <sys/stat.h>
@@ -44,7 +45,6 @@
#include <sys/file.h>
#include <sys/filedesc.h>
#include <sys/kernel.h>
-#include <sys/malloc.h>
#include <sys/mbuf.h>
#include <sys/mman.h>
#include <sys/mount.h>
@@ -98,9 +98,6 @@
#define BSD_DIRENT(cp) ((struct dirent *)(cp))
-extern void *M_ZOMBIE;
-extern void *M_SUBPROC;
-
extern int bsd_to_svr4_sig[];
static int svr4_mknod __P((struct proc *, register_t *, char *,
svr4_mode_t, svr4_dev_t));
OpenPOWER on IntegriCloud