summaryrefslogtreecommitdiffstats
path: root/sys/compat
diff options
context:
space:
mode:
authornewton <newton@FreeBSD.org>1999-02-01 13:26:13 +0000
committernewton <newton@FreeBSD.org>1999-02-01 13:26:13 +0000
commit7c096f22d6d34034cc3e1211010451159156a9b8 (patch)
tree60284cbcf25d7a9b6923ab7d2735f38025a2534d /sys/compat
parent099d15dc2f5088a8d25e52a166af13c684b898e6 (diff)
downloadFreeBSD-src-7c096f22d6d34034cc3e1211010451159156a9b8.zip
FreeBSD-src-7c096f22d6d34034cc3e1211010451159156a9b8.tar.gz
Acquiesce to proc.h for declarations of M_ZOMBIE, M_SUBPROC (and reorder
includes so proc.h knows the right type for 'em). Suggested by: bde
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/svr4/svr4_misc.c5
1 files changed, 1 insertions, 4 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));
OpenPOWER on IntegriCloud