This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
ive converted this obvious deprecated usage of index() with strchr(). fixes some mingw build warnings among other things. -mike 2010-04-20 Mike Frysinger <vapier@gentoo.org> * config/bfin-lex.l (parse_int): Change index() to strchr(). RCS file: /cvs/src/src/gas/config/bfin-lex.l,v retrieving revision 1.11 diff -u -p -r1.11 bfin-lex.l --- gas/config/bfin-lex.l 10 Mar 2010 14:23:58 -0000 1.11 +++ gas/config/bfin-lex.l 20 Apr 2010 07:03:00 -0000 @@ -483,7 +483,7 @@ static long parse_int (char **end) { char c; c = *arg++; - if (c == 0 || !index (char_bag, c)) + if (c == 0 || !strchr (char_bag, c)) { not_done = 0; *--arg = c;
Attachment:
signature.asc
Description: This is a digitally signed message part.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |