diff options
author | Joseph Myers <joseph@codesourcery.com> | 2013-06-07 22:24:35 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2013-06-07 22:24:35 +0000 |
commit | 2e09a79ada1f6d92809a037d41895e3d9302ad59 (patch) | |
tree | 999c9d18279a7de289937116273ae4016356aa3a /stdlib/tst-strtol.c | |
parent | 8e254d8e0d0820716e0ccf5f2b89c4fd1325f051 (diff) | |
download | glibc-2e09a79ada1f6d92809a037d41895e3d9302ad59.zip glibc-2e09a79ada1f6d92809a037d41895e3d9302ad59.tar.gz glibc-2e09a79ada1f6d92809a037d41895e3d9302ad59.tar.bz2 |
Avoid use of "register" as optimization hint.
Diffstat (limited to 'stdlib/tst-strtol.c')
-rw-r--r-- | stdlib/tst-strtol.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/tst-strtol.c b/stdlib/tst-strtol.c index f569e55..eebd8f7 100644 --- a/stdlib/tst-strtol.c +++ b/stdlib/tst-strtol.c @@ -537,14 +537,14 @@ static void expand (char *dst, int c); int main (void) { - register const struct ltest *lt; + const struct ltest *lt; char *ep; int status = 0; int save_errno; for (lt = tests; lt->str != NULL; ++lt) { - register long int l; + long int l; errno = 0; l = strtol (lt->str, &ep, lt->base); @@ -577,7 +577,7 @@ main (void) for (++lt; lt->str != NULL; lt++) { - register unsigned long int ul; + unsigned long int ul; errno = 0; ul = strtoul (lt->str, &ep, lt->base); |