gas: bfin: replace index() with strchr()
This commit is contained in:
parent
9f117f4723
commit
048e5b805b
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user