aboutsummaryrefslogtreecommitdiff
path: root/wcsmbs/wmemchr.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-06-07 22:24:35 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-06-07 22:24:35 +0000
commit2e09a79ada1f6d92809a037d41895e3d9302ad59 (patch)
tree999c9d18279a7de289937116273ae4016356aa3a /wcsmbs/wmemchr.c
parent8e254d8e0d0820716e0ccf5f2b89c4fd1325f051 (diff)
downloadglibc-2e09a79ada1f6d92809a037d41895e3d9302ad59.tar
glibc-2e09a79ada1f6d92809a037d41895e3d9302ad59.tar.gz
glibc-2e09a79ada1f6d92809a037d41895e3d9302ad59.tar.bz2
glibc-2e09a79ada1f6d92809a037d41895e3d9302ad59.zip
Avoid use of "register" as optimization hint.
Diffstat (limited to 'wcsmbs/wmemchr.c')
-rw-r--r--wcsmbs/wmemchr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/wcsmbs/wmemchr.c b/wcsmbs/wmemchr.c
index 63311f276c..237765a2f1 100644
--- a/wcsmbs/wmemchr.c
+++ b/wcsmbs/wmemchr.c
@@ -20,9 +20,9 @@
wchar_t *
wmemchr (s, c, n)
- register const wchar_t *s;
- register wchar_t c;
- register size_t n;
+ const wchar_t *s;
+ wchar_t c;
+ size_t n;
{
/* For performance reasons unfold the loop four times. */
while (n >= 4)