summaryrefslogtreecommitdiff
path: root/sys/lib/libkern/strncmp.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2014-06-10 04:16:58 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2014-06-10 04:16:58 +0000
commit74f6da5d981b9a1caa39a2fc4c2ecaac4da4bd1f (patch)
tree42ba94ddcfa2134d45688c032f3faaf4ce527cd0 /sys/lib/libkern/strncmp.c
parent1d4e0b673ca67c458cb3600e2adcfd6f113dc7dd (diff)
mop up #ifdef _KERNEL goo; ok miod
Diffstat (limited to 'sys/lib/libkern/strncmp.c')
-rw-r--r--sys/lib/libkern/strncmp.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/lib/libkern/strncmp.c b/sys/lib/libkern/strncmp.c
index 13fb1aa2c3b..eafc02f4843 100644
--- a/sys/lib/libkern/strncmp.c
+++ b/sys/lib/libkern/strncmp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: strncmp.c,v 1.10 2009/10/27 23:59:35 deraadt Exp $ */
+/* $OpenBSD: strncmp.c,v 1.11 2014/06/10 04:16:57 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)