summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_pdaemon.h
diff options
context:
space:
mode:
authorsmart <smart@cvs.openbsd.org>2001-03-09 05:34:39 +0000
committersmart <smart@cvs.openbsd.org>2001-03-09 05:34:39 +0000
commit70dc353ae31df19a481d5ec5cd2f83804fa0f7ea (patch)
tree9fec01a53da69b20fc8b27bbe2ee8be61c958fa9 /sys/uvm/uvm_pdaemon.h
parentd6685a5c97ce71b163917bbafb3d6834a374aae4 (diff)
Protect protypes, certain macros, and inlines from userland. Checked userland
with a 'make build'. From NetBSD. art@ ok
Diffstat (limited to 'sys/uvm/uvm_pdaemon.h')
-rw-r--r--sys/uvm/uvm_pdaemon.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/uvm/uvm_pdaemon.h b/sys/uvm/uvm_pdaemon.h
index 50ac09f5512..93992f53450 100644
--- a/sys/uvm/uvm_pdaemon.h
+++ b/sys/uvm/uvm_pdaemon.h
@@ -1,5 +1,5 @@
-/* $OpenBSD: uvm_pdaemon.h,v 1.5 2001/01/29 02:07:48 niklas Exp $ */
-/* $NetBSD: uvm_pdaemon.h,v 1.6 1999/03/25 18:48:56 mrg Exp $ */
+/* $OpenBSD: uvm_pdaemon.h,v 1.6 2001/03/09 05:34:38 smart Exp $ */
+/* $NetBSD: uvm_pdaemon.h,v 1.7 1999/06/21 17:25:12 thorpej Exp $ */
/*
* Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -74,10 +74,14 @@
* uvm_pdaemon.h: page daemon hooks
*/
+#ifdef _KERNEL
+
/*
* prototypes
*/
void uvm_wait __P((char *));
+#endif /* _KERNEL */
+
#endif /* _UVM_UVM_PDAEMON_H_ */