summaryrefslogtreecommitdiff
path: root/src/string/strcpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/string/strcpy.c')
-rw-r--r--src/string/strcpy.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/string/strcpy.c b/src/string/strcpy.c
index f7e3ba38..2883e930 100644
--- a/src/string/strcpy.c
+++ b/src/string/strcpy.c
@@ -4,13 +4,6 @@ char *__stpcpy(char *, const char *);
char *strcpy(char *restrict dest, const char *restrict src)
{
-#if 1
__stpcpy(dest, src);
return dest;
-#else
- const unsigned char *s = src;
- unsigned char *d = dest;
- while ((*d++ = *s++));
- return dest;
-#endif
}