Synced with libiberty in the gcc repository.

This commit is contained in:
H.J. Lu
2000-06-15 20:56:25 +00:00
parent b91280077a
commit eb383413c2
18 changed files with 4421 additions and 283 deletions

View File

@@ -25,8 +25,8 @@ int
DEFUN(memcmp, (str1, str2, count),
const PTR str1 AND const PTR str2 AND size_t count)
{
register unsigned char *s1 = (unsigned char*)str1;
register unsigned char *s2 = (unsigned char*)str2;
register const unsigned char *s1 = (const unsigned char*)str1;
register const unsigned char *s2 = (const unsigned char*)str2;
while (count-- > 0)
{