summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/strlen.c
diff options
context:
space:
mode:
authorderaadt <>2014-06-10 04:17:37 +0000
committerderaadt <>2014-06-10 04:17:37 +0000
commitd1cb2eb4f0f9779a6be2986e760ea8354285bed9 (patch)
treefc570d82ae9eecf65c8e32d374796f1b5cee541b /src/lib/libc/string/strlen.c
parente1b854f100e2e8f243d8afc553a6811b56a3ee4f (diff)
downloadopenbsd-d1cb2eb4f0f9779a6be2986e760ea8354285bed9.tar.gz
openbsd-d1cb2eb4f0f9779a6be2986e760ea8354285bed9.tar.bz2
openbsd-d1cb2eb4f0f9779a6be2986e760ea8354285bed9.zip
mop up ifndef KERNEL goo; ok miod
Diffstat (limited to 'src/lib/libc/string/strlen.c')
-rw-r--r--src/lib/libc/string/strlen.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libc/string/strlen.c b/src/lib/libc/string/strlen.c
index 12d9ec4dad..7e0e27b1d8 100644
--- a/src/lib/libc/string/strlen.c
+++ b/src/lib/libc/string/strlen.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: strlen.c,v 1.7 2005/08/08 08:05:37 espie Exp $ */ 1/* $OpenBSD: strlen.c,v 1.8 2014/06/10 04:17:37 deraadt Exp $ */
2 2
3/*- 3/*-
4 * Copyright (c) 1990, 1993 4 * Copyright (c) 1990, 1993
@@ -29,11 +29,7 @@
29 * SUCH DAMAGE. 29 * SUCH DAMAGE.
30 */ 30 */
31 31
32#if !defined(_KERNEL) && !defined(_STANDALONE)
33#include <string.h> 32#include <string.h>
34#else
35#include <lib/libkern/libkern.h>
36#endif
37 33
38size_t 34size_t
39strlen(const char *str) 35strlen(const char *str)