From 048e5b805b3e2ffaccdf612d6f5109b95c77d406 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 20 Apr 2010 07:10:31 +0000 Subject: [PATCH] gas: bfin: replace index() with strchr() --- gas/ChangeLog | 4 ++++ gas/config/bfin-lex.l | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 5f5d2b12804..78920e67493 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2010-04-20 Mike Frysinger + + * config/bfin-lex.l (parse_int): Change index() to strchr(). + 2010-04-16 Nick Clifton PR gas/11395 diff --git a/gas/config/bfin-lex.l b/gas/config/bfin-lex.l index 6571c8f7a87..1b80bf9f1f8 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; -- 2.30.2