summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/strcpy.c
diff options
context:
space:
mode:
authorderaadt <>2014-06-10 04:17:37 +0000
committerderaadt <>2014-06-10 04:17:37 +0000
commita13b202796a212c4c4e553e85d8bad24bbdffe07 (patch)
treefc570d82ae9eecf65c8e32d374796f1b5cee541b /src/lib/libc/string/strcpy.c
parent504d483047bcc780e5ca4d60e109b88c40ab74ea (diff)
downloadopenbsd-a13b202796a212c4c4e553e85d8bad24bbdffe07.tar.gz
openbsd-a13b202796a212c4c4e553e85d8bad24bbdffe07.tar.bz2
openbsd-a13b202796a212c4c4e553e85d8bad24bbdffe07.zip
mop up ifndef KERNEL goo; ok miod
Diffstat (limited to 'src/lib/libc/string/strcpy.c')
-rw-r--r--src/lib/libc/string/strcpy.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libc/string/strcpy.c b/src/lib/libc/string/strcpy.c
index 71d90d4100..5a9001e431 100644
--- a/src/lib/libc/string/strcpy.c
+++ b/src/lib/libc/string/strcpy.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: strcpy.c,v 1.8 2005/08/08 08:05:37 espie Exp $ */ 1/* $OpenBSD: strcpy.c,v 1.9 2014/06/10 04:17:37 deraadt Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1988 Regents of the University of California. 4 * Copyright (c) 1988 Regents of the University of California.
@@ -29,11 +29,7 @@
29 * SUCH DAMAGE. 29 * SUCH DAMAGE.
30 */ 30 */
31 31
32#if !defined(_KERNEL) && !defined(_STANDALONE)
33#include <string.h> 32#include <string.h>
34#else
35#include <lib/libkern/libkern.h>
36#endif
37 33
38#if defined(APIWARN) 34#if defined(APIWARN)
39__warn_references(strcpy, 35__warn_references(strcpy,