summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/explicit_bzero.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2014-06-10 04:17:37 +0000
committerderaadt <deraadt@openbsd.org>2014-06-10 04:17:37 +0000
commit6ca4427d004281cf1c1dacd7a34be8ee773e5db9 (patch)
tree0914729aec29ed46b4374958a0aa9172e8d9c0ef /lib/libc/string/explicit_bzero.c
parentmop up #ifdef _KERNEL goo; ok miod (diff)
downloadwireguard-openbsd-6ca4427d004281cf1c1dacd7a34be8ee773e5db9.tar.xz
wireguard-openbsd-6ca4427d004281cf1c1dacd7a34be8ee773e5db9.zip
mop up ifndef KERNEL goo; ok miod
Diffstat (limited to 'lib/libc/string/explicit_bzero.c')
-rw-r--r--lib/libc/string/explicit_bzero.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/libc/string/explicit_bzero.c b/lib/libc/string/explicit_bzero.c
index fd2948ca44e..5124df23caf 100644
--- a/lib/libc/string/explicit_bzero.c
+++ b/lib/libc/string/explicit_bzero.c
@@ -1,14 +1,10 @@
-/* $OpenBSD: explicit_bzero.c,v 1.1 2014/01/22 21:06:45 tedu Exp $ */
+/* $OpenBSD: explicit_bzero.c,v 1.2 2014/06/10 04:17:37 deraadt Exp $ */
/*
* Public domain.
* Written by Ted Unangst
*/
-#if !defined(_KERNEL) && !defined(_STANDALONE)
#include <string.h>
-#else
-#include <lib/libkern/libkern.h>
-#endif
/*
* explicit_bzero - don't let the compiler optimize away bzero