summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2013-11-01 17:17:25 +0000
committerderaadt <deraadt@openbsd.org>2013-11-01 17:17:25 +0000
commit2620d49f1459972d80458082449128de283f513c (patch)
tree28a05343d9575b98259a75a71dc4e6880701f951 /sys
parentreduce use of <sys/user.h> (diff)
downloadwireguard-openbsd-2620d49f1459972d80458082449128de283f513c.tar.xz
wireguard-openbsd-2620d49f1459972d80458082449128de283f513c.zip
there is no need to expose "struct vops" to userland
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/vnode.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h
index 8efc6342f6c..31740d4a778 100644
--- a/sys/sys/vnode.h
+++ b/sys/sys/vnode.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vnode.h,v 1.121 2013/09/24 09:20:12 espie Exp $ */
+/* $OpenBSD: vnode.h,v 1.122 2013/11/01 17:17:25 deraadt Exp $ */
/* $NetBSD: vnode.h,v 1.38 1996/02/29 20:59:05 cgd Exp $ */
/*
@@ -257,7 +257,6 @@ extern int syncdelay; /* seconds to delay syncing vnodes */
extern int rushjob; /* # of slots syncer should run ASAP */
extern void vhold(struct vnode *);
extern void vdrop(struct vnode *);
-#endif /* _KERNEL */
/* vnode operations */
struct vops {
@@ -299,7 +298,6 @@ struct vops {
int (*vop_kqfilter)(void *);
};
-#ifdef _KERNEL
extern struct vops dead_vops;
extern struct vops spec_vops;