fixed compiling error for GCC
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@428 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
26e8c8c1ab
commit
faffc442b9
|
@ -41,13 +41,6 @@ int strcmp (const char *s1, const char *s2)
|
||||||
return (*s1 - *s2);
|
return (*s1 - *s2);
|
||||||
}
|
}
|
||||||
|
|
||||||
int strcmp (const char *s1, const char *s2)
|
|
||||||
{
|
|
||||||
while (*s1 && *s1 == *s2)
|
|
||||||
s1++, s2++;
|
|
||||||
return (*s1 - *s2);
|
|
||||||
}
|
|
||||||
|
|
||||||
char* strcat(register char* s,register const char* t)
|
char* strcat(register char* s,register const char* t)
|
||||||
{
|
{
|
||||||
char *dest = s;
|
char *dest = s;
|
||||||
|
|
Loading…
Reference in New Issue