diff options
Diffstat (limited to 'src/lib/libc/string/strncpy.c')
-rw-r--r-- | src/lib/libc/string/strncpy.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libc/string/strncpy.c b/src/lib/libc/string/strncpy.c index 4426cbe2e3..5003a199a9 100644 --- a/src/lib/libc/string/strncpy.c +++ b/src/lib/libc/string/strncpy.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: strncpy.c,v 1.6 2005/08/08 08:05:37 espie Exp $ */ | 1 | /* $OpenBSD: strncpy.c,v 1.7 2014/06/10 04:17:37 deraadt Exp $ */ |
2 | 2 | ||
3 | /*- | 3 | /*- |
4 | * Copyright (c) 1990 The Regents of the University of California. | 4 | * Copyright (c) 1990 The Regents of the University of California. |
@@ -32,11 +32,7 @@ | |||
32 | * SUCH DAMAGE. | 32 | * SUCH DAMAGE. |
33 | */ | 33 | */ |
34 | 34 | ||
35 | #if !defined(_KERNEL) && !defined(_STANDALONE) | ||
36 | #include <string.h> | 35 | #include <string.h> |
37 | #else | ||
38 | #include <lib/libkern/libkern.h> | ||
39 | #endif | ||
40 | 36 | ||
41 | /* | 37 | /* |
42 | * Copy src to dst, truncating or null-padding to always copy n bytes. | 38 | * Copy src to dst, truncating or null-padding to always copy n bytes. |