summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2014-06-29 22:56:31 +0000
committerderaadt <deraadt@openbsd.org>2014-06-29 22:56:31 +0000
commit745f399a4e9246b293cc10b8b3859c99fa4db81c (patch)
tree41fecd8a78e694c685a36f88cc05f0e20354e1d7
parentUse the freshly improved roff_getname() function (diff)
downloadwireguard-openbsd-745f399a4e9246b293cc10b8b3859c99fa4db81c.tar.xz
wireguard-openbsd-745f399a4e9246b293cc10b8b3859c99fa4db81c.zip
delete a #ifdef _KERNEL chunk protecting userland from an #if 0 chunk
-rw-r--r--sys/uvm/uvm_vnode.h19
1 files changed, 1 insertions, 18 deletions
diff --git a/sys/uvm/uvm_vnode.h b/sys/uvm/uvm_vnode.h
index 2670a955752..abb25149bc4 100644
--- a/sys/uvm/uvm_vnode.h
+++ b/sys/uvm/uvm_vnode.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_vnode.h,v 1.12 2002/03/14 01:27:19 millert Exp $ */
+/* $OpenBSD: uvm_vnode.h,v 1.13 2014/06/29 22:56:31 deraadt Exp $ */
/* $NetBSD: uvm_vnode.h,v 1.9 2000/03/26 20:54:48 kleink Exp $ */
/*
@@ -90,21 +90,4 @@ struct uvm_vnode {
*/
#define UVM_VNODE_BLOCKED (UVM_VNODE_ALOCK|UVM_VNODE_DYING|UVM_VNODE_RELKILL)
-#ifdef _KERNEL
-
-/*
- * prototypes
- */
-
-#if 0
-/*
- * moved uvn_attach to uvm_extern.h because uvm_vnode.h is needed to
- * include sys/vnode.h, and files that include sys/vnode.h don't know
- * what a vm_prot_t is.
- */
-struct uvm_object *uvn_attach(void *, vm_prot_t);
-#endif
-
-#endif /* _KERNEL */
-
#endif /* _UVM_UVM_VNODE_H_ */