aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/string/stpcpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/string/stpcpy.c')
-rw-r--r--lib/libc/string/stpcpy.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libc/string/stpcpy.c b/lib/libc/string/stpcpy.c
index 02640a68b0ae..4521e0877e07 100644
--- a/lib/libc/string/stpcpy.c
+++ b/lib/libc/string/stpcpy.c
@@ -31,12 +31,10 @@
* SUCH DAMAGE.
*/
-#if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)strcpy.c 8.1 (Berkeley) 6/4/93";
-#endif /* LIBC_SCCS and not lint */
-#include <sys/cdefs.h>
#include <string.h>
+#undef stpcpy /* _FORTIFY_SOURCE */
+
char *
stpcpy(char * __restrict to, const char * __restrict from)
{