summaryrefslogtreecommitdiff
path: root/libiberty/strchr.c
diff options
context:
space:
mode:
Diffstat (limited to 'libiberty/strchr.c')
-rw-r--r--libiberty/strchr.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libiberty/strchr.c b/libiberty/strchr.c
index 1f71c5143d0..935805ef4f4 100644
--- a/libiberty/strchr.c
+++ b/libiberty/strchr.c
@@ -16,9 +16,7 @@ null character, the results are undefined.
#include <ansidecl.h>
char *
-strchr (s, c)
- register const char *s;
- int c;
+strchr (register const char *s, int c)
{
do {
if (*s == c)