mirror of
git://git.musl-libc.org/musl
synced 2025-03-06 20:48:29 +01:00
remove unused code from strcpy.c
This commit is contained in:
parent
432f9f0e31
commit
8dafb84e66
1 changed files with 0 additions and 7 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue