summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorkn <kn@openbsd.org>2020-06-07 16:51:43 +0000
committerkn <kn@openbsd.org>2020-06-07 16:51:43 +0000
commit8cf7f0244ef83b1dc84650537c871a67a4f95e8e (patch)
tree402c2219222938fece61389ddcabdf443acc45b8 /sys
parentIn the libc resolver function asr_run(), clear the result buffer everytime, (diff)
downloadwireguard-openbsd-8cf7f0244ef83b1dc84650537c871a67a4f95e8e.tar.xz
wireguard-openbsd-8cf7f0244ef83b1dc84650537c871a67a4f95e8e.zip
Add include guard
Input on naming schema, OK deraadt
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/biovar.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/biovar.h b/sys/dev/biovar.h
index a6eead01276..853f73990d1 100644
--- a/sys/dev/biovar.h
+++ b/sys/dev/biovar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: biovar.h,v 1.45 2016/08/14 04:08:03 dlg Exp $ */
+/* $OpenBSD: biovar.h,v 1.46 2020/06/07 16:51:43 kn Exp $ */
/*
* Copyright (c) 2002 Niklas Hallqvist. All rights reserved.
@@ -26,6 +26,9 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifndef _SYS_DEV_BIOVAR_H_
+#define _SYS_DEV_BIOVAR_H_
+
/*
* Devices getting ioctls through this interface should use ioctl class 'B'
* and command numbers starting from 32, lower ones are reserved for generic
@@ -305,3 +308,5 @@ void bio_info(struct bio_status *, int, const char *, ...);
void bio_warn(struct bio_status *, int, const char *, ...);
void bio_error(struct bio_status *, int, const char *, ...);
#endif
+
+#endif /* _SYS_DEV_BIOVAR_H_ */