summaryrefslogtreecommitdiff
path: root/string/strrchr.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 /string/strrchr.c
parent8e254d8e0d0820716e0ccf5f2b89c4fd1325f051 (diff)
downloadglibc-2e09a79ada1f6d92809a037d41895e3d9302ad59.tar.gz
Avoid use of "register" as optimization hint.
Diffstat (limited to 'string/strrchr.c')
-rw-r--r--string/strrchr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/string/strrchr.c b/string/strrchr.c
index 2bf34991e8..bdec841c87 100644
--- a/string/strrchr.c
+++ b/string/strrchr.c
@@ -23,7 +23,7 @@
char *
strrchr (const char *s, int c)
{
- register const char *found, *p;
+ const char *found, *p;
c = (unsigned char) c;