diff options
author | 2014-06-10 04:16:57 +0000 | |
---|---|---|
committer | 2014-06-10 04:16:57 +0000 | |
commit | b5be37d2a6fbef83b90ca99497343fa8dbb0f3fc (patch) | |
tree | 1cf108b2ad222066281b99f97279b11c93ece20d /sys/lib/libkern/strncpy.c | |
parent | use memset instead of bzero (diff) | |
download | wireguard-openbsd-b5be37d2a6fbef83b90ca99497343fa8dbb0f3fc.tar.xz wireguard-openbsd-b5be37d2a6fbef83b90ca99497343fa8dbb0f3fc.zip |
mop up #ifdef _KERNEL goo; ok miod
Diffstat (limited to 'sys/lib/libkern/strncpy.c')
-rw-r--r-- | sys/lib/libkern/strncpy.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/lib/libkern/strncpy.c b/sys/lib/libkern/strncpy.c index 2972692aa1a..0fca960c28d 100644 --- a/sys/lib/libkern/strncpy.c +++ b/sys/lib/libkern/strncpy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: strncpy.c,v 1.8 2009/10/27 23:59:35 deraadt Exp $ */ +/* $OpenBSD: strncpy.c,v 1.9 2014/06/10 04:16:57 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. |