summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_object.h
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1996-10-15 18:24:34 +0000
committerbde <bde@FreeBSD.org>1996-10-15 18:24:34 +0000
commit5beb18abc1bf4877517b42f429521cb88ccb29e3 (patch)
tree061607c4bb1e26c6e872e8b5cb517f3f8a22c52a /sys/vm/vm_object.h
parent968d31981412de02a78b448982fdfcd060a02050 (diff)
downloadFreeBSD-src-5beb18abc1bf4877517b42f429521cb88ccb29e3.zip
FreeBSD-src-5beb18abc1bf4877517b42f429521cb88ccb29e3.tar.gz
Removed nested include of <sys/proc.h> from <vm/vm_object.h> and fixed
the one place that depended on it. wakeup() is now prototyped in <sys/systm.h> so that it is normally visible. Added nested include of <sys/queue.h> in <vm/vm_object.h>. The queue macros are a more fundamental prerequisite for <vm/vm_object.h> than the wakeup prototype and previously happened to be included by namespace pollution from <sys/proc.h> or elsewhere.
Diffstat (limited to 'sys/vm/vm_object.h')
-rw-r--r--sys/vm/vm_object.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/vm/vm_object.h b/sys/vm/vm_object.h
index 5780470..e62a14b 100644
--- a/sys/vm/vm_object.h
+++ b/sys/vm/vm_object.h
@@ -61,7 +61,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: vm_object.h,v 1.30 1996/09/08 20:44:43 dyson Exp $
+ * $Id: vm_object.h,v 1.31 1996/09/28 03:33:31 dyson Exp $
*/
/*
@@ -71,9 +71,7 @@
#ifndef _VM_OBJECT_
#define _VM_OBJECT_
-#ifdef KERNEL
-#include <sys/proc.h> /* XXX for wakeup() */
-#endif
+#include <sys/queue.h>
enum obj_type { OBJT_DEFAULT, OBJT_SWAP, OBJT_VNODE, OBJT_DEVICE };
typedef enum obj_type objtype_t;
OpenPOWER on IntegriCloud