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 /wcsmbs/wcsstr.c | |
parent | 8e254d8e0d0820716e0ccf5f2b89c4fd1325f051 (diff) | |
download | glibc-2e09a79ada1f6d92809a037d41895e3d9302ad59.tar glibc-2e09a79ada1f6d92809a037d41895e3d9302ad59.tar.gz glibc-2e09a79ada1f6d92809a037d41895e3d9302ad59.tar.bz2 glibc-2e09a79ada1f6d92809a037d41895e3d9302ad59.zip |
Avoid use of "register" as optimization hint.
Diffstat (limited to 'wcsmbs/wcsstr.c')
-rw-r--r-- | wcsmbs/wcsstr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/wcsmbs/wcsstr.c b/wcsmbs/wcsstr.c index 7151571b25..fe984d141a 100644 --- a/wcsmbs/wcsstr.c +++ b/wcsmbs/wcsstr.c @@ -33,7 +33,7 @@ wcsstr (haystack, needle) const wchar_t *haystack; const wchar_t *needle; { - register wchar_t b, c; + wchar_t b, c; if ((b = *needle) != L'\0') { @@ -50,8 +50,8 @@ wcsstr (haystack, needle) for (;;) { - register wchar_t a; - register const wchar_t *rhaystack, *rneedle; + wchar_t a; + const wchar_t *rhaystack, *rneedle; do { |