commit | 4f0b67a8dbf0e1d8b1dae42358553fb8d14456d4 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Mon Jul 14 11:22:59 2014 -0700 |
committer | Elliott Hughes <enh@google.com> | Mon Jul 14 11:22:59 2014 -0700 |
tree | 3c6403a39b402071fe1757014b57a7d898012450 | |
parent | 83ce99d8b7e2b15b2169e6e6e18e871ad35abb6c [diff] [blame] |
Sync upstream-openbsd. Change-Id: I5b9961a57e2ff05f63bd218c130bf8347850b9be
diff --git a/libc/upstream-openbsd/lib/libc/string/strlen.c b/libc/upstream-openbsd/lib/libc/string/strlen.c index 12d9ec4..7e0e27b 100644 --- a/libc/upstream-openbsd/lib/libc/string/strlen.c +++ b/libc/upstream-openbsd/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)