summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/strncmp.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/strncmp.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/strncmp.c')
-rw-r--r--lib/libc/string/strncmp.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/libc/string/strncmp.c b/lib/libc/string/strncmp.c
index 0aea80d7d90..0a4ddc1d9e3 100644
--- a/lib/libc/string/strncmp.c
+++ b/lib/libc/string/strncmp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: strncmp.c,v 1.7 2005/08/08 08:05:37 espie Exp $ */
+/* $OpenBSD: strncmp.c,v 1.8 2014/06/10 04:17:37 deraadt Exp $ */
/*
* Copyright (c) 1989 The Regents of the University of California.
@@ -29,11 +29,7 @@
* SUCH DAMAGE.
*/
-#if !defined(_KERNEL) && !defined(_STANDALONE)
#include <string.h>
-#else
-#include <lib/libkern/libkern.h>
-#endif
int
strncmp(const char *s1, const char *s2, size_t n)