summaryrefslogtreecommitdiff
path: root/lib/libc/string/strlen.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/string/strlen.c')
-rw-r--r--lib/libc/string/strlen.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/libc/string/strlen.c b/lib/libc/string/strlen.c
index 12d9ec4dadb..7e0e27b1d8d 100644
--- a/lib/libc/string/strlen.c
+++ b/lib/libc/string/strlen.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: strlen.c,v 1.7 2005/08/08 08:05:37 espie Exp $ */
+/* $OpenBSD: strlen.c,v 1.8 2014/06/10 04:17:37 deraadt Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -29,11 +29,7 @@
* SUCH DAMAGE.
*/
-#if !defined(_KERNEL) && !defined(_STANDALONE)
#include <string.h>
-#else
-#include <lib/libkern/libkern.h>
-#endif
size_t
strlen(const char *str)