1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

Avoid use of "register" as optimization hint.

This commit is contained in:
Joseph Myers
2013-06-07 22:24:35 +00:00
parent 8e254d8e0d
commit 2e09a79ada
79 changed files with 430 additions and 278 deletions

View File

@ -30,10 +30,10 @@ __memccpy (dest, src, c, n)
int c;
size_t n;
{
register const char *s = src;
register char *d = dest;
register const char x = c;
register size_t i = n;
const char *s = src;
char *d = dest;
const char x = c;
size_t i = n;
while (i-- > 0)
if ((*d++ = *s++) == x)