summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/rindex.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/string/rindex.c')
-rw-r--r--lib/libc/string/rindex.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/string/rindex.c b/lib/libc/string/rindex.c
index fbf698b..1b08dd1 100644
--- a/lib/libc/string/rindex.c
+++ b/lib/libc/string/rindex.c
@@ -46,10 +46,10 @@ strrchr(p, ch)
#else
rindex(p, ch)
#endif
- register const char *p;
- register int ch;
+ const char *p;
+ int ch;
{
- register char *save;
+ char *save;
for (save = NULL;; ++p) {
if (*p == ch)
OpenPOWER on IntegriCloud