rockbox/firmware/common/strcat.c
Bertrik Sikken 9c0abbf838 Added #include <string.h> to memmove.c, memcpy.c and strcat.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17285 a1c6a512-1295-4272-9138-f99709370657
2008-04-28 20:39:44 +00:00

14 lines
163 B
C

#include <string.h>
char *strcat(char *s1,
const char *s2)
{
char *s = s1;
while (*s1)
s1++;
while ((*s1++ = *s2++))
;
return s;
}