diff options
Diffstat (limited to 'libc/upstream-openbsd/lib/libc/string/strncpy.c')
-rw-r--r-- | libc/upstream-openbsd/lib/libc/string/strncpy.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libc/upstream-openbsd/lib/libc/string/strncpy.c b/libc/upstream-openbsd/lib/libc/string/strncpy.c index 4426cbe..5003a19 100644 --- a/libc/upstream-openbsd/lib/libc/string/strncpy.c +++ b/libc/upstream-openbsd/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 <string.h> -#else -#include <lib/libkern/libkern.h> -#endif /* * Copy src to dst, truncating or null-padding to always copy n bytes. |