1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +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

@ -29,8 +29,8 @@ __stpcpy_chk (dest, src, destlen)
const char *src;
size_t destlen;
{
register char *d = dest;
register const char *s = src;
char *d = dest;
const char *s = src;
do
{

View File

@ -23,8 +23,8 @@
wchar_t *
__wcscat_chk (wchar_t *dest, const wchar_t *src, size_t destlen)
{
register wchar_t *s1 = dest;
register const wchar_t *s2 = src;
wchar_t *s1 = dest;
const wchar_t *s2 = src;
wchar_t c;
/* Find the end of the string. */