remove unused code from strcpy.c
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user