remove unused code from strcpy.c

This commit is contained in:
Rich Felker 2018-09-07 22:36:12 -04:00
parent 432f9f0e31
commit 8dafb84e66

View file

@ -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
}