From 49b1fae4309ab5b9833f0af388483c2b6b4b3d50 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Mon, 28 Mar 2005 02:09:01 +0000 Subject: merge from gcc --- libiberty/index.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'libiberty/index.c') diff --git a/libiberty/index.c b/libiberty/index.c index a2e272783b..c37edca024 100644 --- a/libiberty/index.c +++ b/libiberty/index.c @@ -12,12 +12,10 @@ deprecated in new programs in favor of @code{strchr}. */ -extern char * strchr(); +extern char * strchr(const char *, int); char * -index (s, c) - char *s; - int c; +index (char *s, int c) { return strchr (s, c); } -- cgit v1.2.3