diff options
author | deraadt <> | 2014-06-10 04:17:37 +0000 |
---|---|---|
committer | deraadt <> | 2014-06-10 04:17:37 +0000 |
commit | d1cb2eb4f0f9779a6be2986e760ea8354285bed9 (patch) | |
tree | fc570d82ae9eecf65c8e32d374796f1b5cee541b /src/lib/libc/string/strncpy.c | |
parent | e1b854f100e2e8f243d8afc553a6811b56a3ee4f (diff) | |
download | openbsd-d1cb2eb4f0f9779a6be2986e760ea8354285bed9.tar.gz openbsd-d1cb2eb4f0f9779a6be2986e760ea8354285bed9.tar.bz2 openbsd-d1cb2eb4f0f9779a6be2986e760ea8354285bed9.zip |
mop up ifndef KERNEL goo; ok miod
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. |