summaryrefslogtreecommitdiff
path: root/libiberty/strchr.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2005-03-28 05:07:08 +0000
committerDJ Delorie <dj@delorie.com>2005-03-28 05:07:08 +0000
commiteb0e4f9cefc1d530da0654474f7a909f07ee77d3 (patch)
tree5f0563b072f5e292e6c10e44250653ca9048f83c /libiberty/strchr.c
parent330f7c1a6218d3b4a10b5b571eee65f3d53b64ac (diff)
downloadgdb-eb0e4f9cefc1d530da0654474f7a909f07ee77d3.tar.gz
merge from gcc
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)