diff options
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. |