gas: bfin: replace index() with strchr()

This commit is contained in:
Mike Frysinger 2010-04-20 07:10:31 +00:00
parent 9f117f4723
commit 048e5b805b
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2010-04-20 Mike Frysinger <vapier@gentoo.org>
* config/bfin-lex.l (parse_int): Change index() to strchr().
2010-04-16 Nick Clifton <nickc@redhat.com>
PR gas/11395

View File

@ -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;