diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-04-20 07:10:31 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-04-20 07:10:31 +0000 |
commit | 048e5b805b3e2ffaccdf612d6f5109b95c77d406 (patch) | |
tree | dd5f211078d6c1393e842c3a29bb907b3c132862 /gas/config | |
parent | 9f117f472395074ea657a89049faf2cbb250538f (diff) | |
download | fsf-binutils-gdb-048e5b805b3e2ffaccdf612d6f5109b95c77d406.zip fsf-binutils-gdb-048e5b805b3e2ffaccdf612d6f5109b95c77d406.tar.gz fsf-binutils-gdb-048e5b805b3e2ffaccdf612d6f5109b95c77d406.tar.bz2 |
gas: bfin: replace index() with strchr()
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/bfin-lex.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/bfin-lex.l b/gas/config/bfin-lex.l index 6571c8f..1b80bf9 100644 --- a/gas/config/bfin-lex.l +++ b/gas/config/bfin-lex.l @@ -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; |