summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/index.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/string/index.c')
-rw-r--r--lib/libc/string/index.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/string/index.c b/lib/libc/string/index.c
index 1f7973a..7eaf3d7 100644
--- a/lib/libc/string/index.c
+++ b/lib/libc/string/index.c
@@ -46,7 +46,7 @@ strchr(p, ch)
#else
index(p, ch)
#endif
- register const char *p, ch;
+ const char *p, ch;
{
for (;; ++p) {
if (*p == ch)
OpenPOWER on IntegriCloud