summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2012-10-08 15:43:08 +0000
committerjsing <jsing@openbsd.org>2012-10-08 15:43:08 +0000
commitc8737daee44a550ed89cd2d1dd8aa321a27d8c59 (patch)
tree48e10131565937cf3fc8d96a550df8542b1fb5ea /sys
parentProvide a mechanism for the kernel to pass data through to the discipline (diff)
downloadwireguard-openbsd-c8737daee44a550ed89cd2d1dd8aa321a27d8c59.tar.xz
wireguard-openbsd-c8737daee44a550ed89cd2d1dd8aa321a27d8c59.zip
Protect vnode.h from multiple inclusions.
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/vnode.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h
index 0fa0982149e..0fadb10fd70 100644
--- a/sys/sys/vnode.h
+++ b/sys/sys/vnode.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vnode.h,v 1.112 2012/08/23 06:12:49 deraadt Exp $ */
+/* $OpenBSD: vnode.h,v 1.113 2012/10/08 15:43:08 jsing Exp $ */
/* $NetBSD: vnode.h,v 1.38 1996/02/29 20:59:05 cgd Exp $ */
/*
@@ -32,6 +32,9 @@
* @(#)vnode.h 8.11 (Berkeley) 11/21/94
*/
+#ifndef _SYS_VNODE_H_
+#define _SYS_VNODE_H_
+
#include <sys/buf.h>
#include <sys/types.h>
#include <sys/queue.h>
@@ -666,3 +669,4 @@ int softdep_fsync(struct vnode *);
int getvnode(struct filedesc *, int, struct file **);
#endif /* _KERNEL */
+#endif /* _SYS_VNODE_H_ */