summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_page.h
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1994-10-21 01:19:28 +0000
committerwollman <wollman@FreeBSD.org>1994-10-21 01:19:28 +0000
commit3a9b1c345aa754e6b2ad22027ceef577f7c77551 (patch)
tree5fc19e7150289ae5b5e20a8e8f5051859ddcad22 /sys/vm/vm_page.h
parent207112cfcf4a98bc0c11c23595d30aa2d83c5b6f (diff)
downloadFreeBSD-src-3a9b1c345aa754e6b2ad22027ceef577f7c77551.zip
FreeBSD-src-3a9b1c345aa754e6b2ad22027ceef577f7c77551.tar.gz
Make my ALLDEVS kernel compile (basically, LINT minus a lot of options).
This involves fixing a few things I broke last time.
Diffstat (limited to 'sys/vm/vm_page.h')
-rw-r--r--sys/vm/vm_page.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/vm/vm_page.h b/sys/vm/vm_page.h
index cfbfce2..c86c98e 100644
--- a/sys/vm/vm_page.h
+++ b/sys/vm/vm_page.h
@@ -61,7 +61,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: vm_page.h,v 1.7 1994/10/05 09:48:44 davidg Exp $
+ * $Id: vm_page.h,v 1.8 1994/10/17 10:43:56 davidg Exp $
*/
/*
@@ -261,6 +261,10 @@ vm_page_hold(mem)
mem->hold_count++;
}
+#ifdef DIAGNOSTIC
+#include <sys/systm.h> /* make GCC shut up */
+#endif
+
static inline void
vm_page_unhold(mem)
vm_page_t mem;
OpenPOWER on IntegriCloud