diff --git a/src/lib/libc/string/bcmp.c b/src/lib/libc/string/bcmp.c index fd5c9312..f6467299 100644 --- a/src/lib/libc/string/bcmp.c +++ b/src/lib/libc/string/bcmp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bcmp.c,v 1.9 2008/03/19 03:00:23 ray Exp $ */ +/* $OpenBSD: bcmp.c,v 1.10 2014/06/10 04:17:37 deraadt Exp $ */ /* * Copyright (c) 1987 Regents of the University of California. @@ -29,11 +29,7 @@ * SUCH DAMAGE. */ -#if !defined(_KERNEL) && !defined(_STANDALONE) #include -#else -#include -#endif /* * bcmp -- vax cmpc3 instruction diff --git a/src/lib/libc/string/bzero.c b/src/lib/libc/string/bzero.c index 4d267d4f..fdd3d9cc 100644 --- a/src/lib/libc/string/bzero.c +++ b/src/lib/libc/string/bzero.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bzero.c,v 1.7 2005/08/08 08:05:37 espie Exp $ */ +/* $OpenBSD: bzero.c,v 1.8 2014/06/10 04:17:37 deraadt Exp $ */ /* * Copyright (c) 1987 Regents of the University of California. @@ -29,11 +29,7 @@ * SUCH DAMAGE. */ -#if !defined(_KERNEL) && !defined(_STANDALONE) #include -#else -#include -#endif /* * bzero -- vax movc5 instruction diff --git a/src/lib/libc/string/explicit_bzero.c b/src/lib/libc/string/explicit_bzero.c index fd2948ca..5124df23 100644 --- a/src/lib/libc/string/explicit_bzero.c +++ b/src/lib/libc/string/explicit_bzero.c @@ -1,14 +1,10 @@ -/* $OpenBSD: explicit_bzero.c,v 1.1 2014/01/22 21:06:45 tedu Exp $ */ +/* $OpenBSD: explicit_bzero.c,v 1.2 2014/06/10 04:17:37 deraadt Exp $ */ /* * Public domain. * Written by Ted Unangst */ -#if !defined(_KERNEL) && !defined(_STANDALONE) #include -#else -#include -#endif /* * explicit_bzero - don't let the compiler optimize away bzero diff --git a/src/lib/libc/string/ffs.c b/src/lib/libc/string/ffs.c index 7dec1613..de4480a7 100644 --- a/src/lib/libc/string/ffs.c +++ b/src/lib/libc/string/ffs.c @@ -1,15 +1,11 @@ -/* $OpenBSD: ffs.c,v 1.7 2005/08/08 08:05:37 espie Exp $ */ +/* $OpenBSD: ffs.c,v 1.8 2014/06/10 04:17:37 deraadt Exp $ */ /* * Public domain. * Written by Dale Rahn. */ -#if !defined(_KERNEL) && !defined(_STANDALONE) #include -#else -#include -#endif /* * ffs -- vax ffs instruction diff --git a/src/lib/libc/string/strcat.c b/src/lib/libc/string/strcat.c index 7cea5229..646c9c20 100644 --- a/src/lib/libc/string/strcat.c +++ b/src/lib/libc/string/strcat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: strcat.c,v 1.8 2005/08/08 08:05:37 espie Exp $ */ +/* $OpenBSD: strcat.c,v 1.9 2014/06/10 04:17:37 deraadt Exp $ */ /* * Copyright (c) 1988 Regents of the University of California. @@ -29,11 +29,7 @@ * SUCH DAMAGE. */ -#if !defined(_KERNEL) && !defined(_STANDALONE) #include -#else -#include -#endif #if defined(APIWARN) __warn_references(strcat, diff --git a/src/lib/libc/string/strcmp.c b/src/lib/libc/string/strcmp.c index 816fd111..d1b6c50d 100644 --- a/src/lib/libc/string/strcmp.c +++ b/src/lib/libc/string/strcmp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: strcmp.c,v 1.7 2005/08/08 08:05:37 espie Exp $ */ +/* $OpenBSD: strcmp.c,v 1.8 2014/06/10 04:17:37 deraadt Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. @@ -32,11 +32,7 @@ * SUCH DAMAGE. */ -#if !defined(_KERNEL) && !defined(_STANDALONE) #include -#else -#include -#endif /* * Compare strings. diff --git a/src/lib/libc/string/strcpy.c b/src/lib/libc/string/strcpy.c index 71d90d41..5a9001e4 100644 --- a/src/lib/libc/string/strcpy.c +++ b/src/lib/libc/string/strcpy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: strcpy.c,v 1.8 2005/08/08 08:05:37 espie Exp $ */ +/* $OpenBSD: strcpy.c,v 1.9 2014/06/10 04:17:37 deraadt Exp $ */ /* * Copyright (c) 1988 Regents of the University of California. @@ -29,11 +29,7 @@ * SUCH DAMAGE. */ -#if !defined(_KERNEL) && !defined(_STANDALONE) #include -#else -#include -#endif #if defined(APIWARN) __warn_references(strcpy, diff --git a/src/lib/libc/string/strlen.c b/src/lib/libc/string/strlen.c index 12d9ec4d..7e0e27b1 100644 --- a/src/lib/libc/string/strlen.c +++ b/src/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 -#else -#include -#endif size_t strlen(const char *str) diff --git a/src/lib/libc/string/strncmp.c b/src/lib/libc/string/strncmp.c index 0aea80d7..0a4ddc1d 100644 --- a/src/lib/libc/string/strncmp.c +++ b/src/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 -#else -#include -#endif int strncmp(const char *s1, const char *s2, size_t n) diff --git a/src/lib/libc/string/strncpy.c b/src/lib/libc/string/strncpy.c index 4426cbe2..5003a199 100644 --- a/src/lib/libc/string/strncpy.c +++ b/src/lib/libc/string/strncpy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: strncpy.c,v 1.6 2005/08/08 08:05:37 espie Exp $ */ +/* $OpenBSD: strncpy.c,v 1.7 2014/06/10 04:17:37 deraadt Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. @@ -32,11 +32,7 @@ * SUCH DAMAGE. */ -#if !defined(_KERNEL) && !defined(_STANDALONE) #include -#else -#include -#endif /* * Copy src to dst, truncating or null-padding to always copy n bytes. diff --git a/src/lib/libc/string/strnlen.c b/src/lib/libc/string/strnlen.c index a5e13ae0..872cfa6c 100644 --- a/src/lib/libc/string/strnlen.c +++ b/src/lib/libc/string/strnlen.c @@ -1,4 +1,4 @@ -/* $OpenBSD: strnlen.c,v 1.4 2012/04/26 01:22:31 matthew Exp $ */ +/* $OpenBSD: strnlen.c,v 1.5 2014/06/10 04:17:37 deraadt Exp $ */ /* * Copyright (c) 2010 Todd C. Miller @@ -18,11 +18,7 @@ #include -#if !defined(_KERNEL) && !defined(_STANDALONE) #include -#else -#include -#endif size_t strnlen(const char *str, size_t maxlen) diff --git a/src/lib/libc/string/timingsafe_bcmp.c b/src/lib/libc/string/timingsafe_bcmp.c index 9c4287cf..0b736154 100644 --- a/src/lib/libc/string/timingsafe_bcmp.c +++ b/src/lib/libc/string/timingsafe_bcmp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: timingsafe_bcmp.c,v 1.1 2010/09/24 13:33:00 matthew Exp $ */ +/* $OpenBSD: timingsafe_bcmp.c,v 1.2 2014/06/10 04:17:37 deraadt Exp $ */ /* * Copyright (c) 2010 Damien Miller. All rights reserved. * @@ -15,11 +15,7 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#if !defined(_KERNEL) && !defined(_STANDALONE) #include -#else -#include -#endif int timingsafe_bcmp(const void *b1, const void *b2, size_t n)