summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/strcpy.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2014-06-10 04:17:37 +0000
committerderaadt <deraadt@openbsd.org>2014-06-10 04:17:37 +0000
commit6ca4427d004281cf1c1dacd7a34be8ee773e5db9 (patch)
tree0914729aec29ed46b4374958a0aa9172e8d9c0ef /lib/libc/string/strcpy.c
parentmop up #ifdef _KERNEL goo; ok miod (diff)
downloadwireguard-openbsd-6ca4427d004281cf1c1dacd7a34be8ee773e5db9.tar.xz
wireguard-openbsd-6ca4427d004281cf1c1dacd7a34be8ee773e5db9.zip
mop up ifndef KERNEL goo; ok miod
Diffstat (limited to 'lib/libc/string/strcpy.c')
-rw-r--r--lib/libc/string/strcpy.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/libc/string/strcpy.c b/lib/libc/string/strcpy.c
index 71d90d41002..5a9001e4310 100644
--- a/lib/libc/string/strcpy.c
+++ b/lib/libc/string/strcpy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: strcpy.c,v 1.8 2005/08/08 08:05:37 espie Exp $ */
+/* $OpenBSD: strcpy.c,v 1.9 2014/06/10 04:17:37 deraadt Exp $ */
/*
* Copyright (c) 1988 Regents of the University of California.
@@ -29,11 +29,7 @@
* SUCH DAMAGE.
*/
-#if !defined(_KERNEL) && !defined(_STANDALONE)
#include <string.h>
-#else
-#include <lib/libkern/libkern.h>
-#endif
#if defined(APIWARN)
__warn_references(strcpy,