summaryrefslogtreecommitdiffstats
path: root/sys/lib/libkern/memcmp.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2014-06-10 04:16:57 +0000
committerderaadt <deraadt@openbsd.org>2014-06-10 04:16:57 +0000
commitb5be37d2a6fbef83b90ca99497343fa8dbb0f3fc (patch)
tree1cf108b2ad222066281b99f97279b11c93ece20d /sys/lib/libkern/memcmp.c
parentuse memset instead of bzero (diff)
downloadwireguard-openbsd-b5be37d2a6fbef83b90ca99497343fa8dbb0f3fc.tar.xz
wireguard-openbsd-b5be37d2a6fbef83b90ca99497343fa8dbb0f3fc.zip
mop up #ifdef _KERNEL goo; ok miod
Diffstat (limited to 'sys/lib/libkern/memcmp.c')
-rw-r--r--sys/lib/libkern/memcmp.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/lib/libkern/memcmp.c b/sys/lib/libkern/memcmp.c
index b75bdab97f6..4d53a47193b 100644
--- a/sys/lib/libkern/memcmp.c
+++ b/sys/lib/libkern/memcmp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: memcmp.c,v 1.5 2009/10/27 23:59:35 deraadt Exp $ */
+/* $OpenBSD: memcmp.c,v 1.6 2014/06/10 04:16:57 deraadt Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -32,11 +32,7 @@
* SUCH DAMAGE.
*/
-#if !defined(_KERNEL) && !defined(_STANDALONE)
-#include <string.h>
-#else
#include <lib/libkern/libkern.h>
-#endif
/*
* Compare memory regions.