summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_object.h
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-03-16 18:17:34 +0000
committerbde <bde@FreeBSD.org>1995-03-16 18:17:34 +0000
commit289f11acb49b6dbb3081e09bf94a86f008f55814 (patch)
treee4952f18ac85eccbbd3d9b0f010098732d07fe6d /sys/vm/vm_object.h
parent4c4945abee9eabe3a2be340ba973ae861c21a3c6 (diff)
downloadFreeBSD-src-289f11acb49b6dbb3081e09bf94a86f008f55814.zip
FreeBSD-src-289f11acb49b6dbb3081e09bf94a86f008f55814.tar.gz
Add and move declarations to fix all of the warnings from `gcc -Wimplicit'
(except in netccitt, netiso and netns) and most of the warnings from `gcc -Wnested-externs'. Fix all the bugs found. There were no serious ones.
Diffstat (limited to 'sys/vm/vm_object.h')
-rw-r--r--sys/vm/vm_object.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/vm/vm_object.h b/sys/vm/vm_object.h
index c788cf7..11ff6a6 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.11 1995/03/12 08:05:46 davidg Exp $
+ * $Id: vm_object.h,v 1.12 1995/03/12 12:42:00 bde Exp $
*/
/*
@@ -71,6 +71,10 @@
#ifndef _VM_OBJECT_
#define _VM_OBJECT_
+#ifdef KERNEL
+#include <sys/proc.h> /* XXX for wakeup() */
+#endif
+
#include <vm/vm_page.h>
#include <vm/vm_pager.h>
@@ -120,6 +124,8 @@ struct vm_object_hash_entry {
typedef struct vm_object_hash_entry *vm_object_hash_entry_t;
#ifdef KERNEL
+extern int vm_object_cache_max;
+
TAILQ_HEAD(object_q, vm_object);
struct object_q vm_object_cached_list; /* list of objects persisting */
OpenPOWER on IntegriCloud