diff options
author | 2014-06-10 04:17:37 +0000 | |
---|---|---|
committer | 2014-06-10 04:17:37 +0000 | |
commit | 6ca4427d004281cf1c1dacd7a34be8ee773e5db9 (patch) | |
tree | 0914729aec29ed46b4374958a0aa9172e8d9c0ef /lib/libc/string/strncpy.c | |
parent | mop up #ifdef _KERNEL goo; ok miod (diff) | |
download | wireguard-openbsd-6ca4427d004281cf1c1dacd7a34be8ee773e5db9.tar.xz wireguard-openbsd-6ca4427d004281cf1c1dacd7a34be8ee773e5db9.zip |
mop up ifndef KERNEL goo; ok miod
Diffstat (limited to 'lib/libc/string/strncpy.c')
-rw-r--r-- | lib/libc/string/strncpy.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/libc/string/strncpy.c b/lib/libc/string/strncpy.c index 4426cbe2e3f..5003a199a9b 100644 --- a/lib/libc/string/strncpy.c +++ b/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. |