diff options
author | Jie Zhang <jie.zhang@analog.com> | 2010-01-14 04:52:57 +0000 |
---|---|---|
committer | Jie Zhang <jie.zhang@analog.com> | 2010-01-14 04:52:57 +0000 |
commit | 62fb9fe1fcde9fd534fdc4f284257212804bb1fe (patch) | |
tree | 237b709bebe904ea94ffb84645eda1691e0e189c /gas/config/bfin-lex.l | |
parent | b521dfe453f0590a99375d060a1e0a6f2fa9afec (diff) | |
download | ppe42-binutils-62fb9fe1fcde9fd534fdc4f284257212804bb1fe.tar.gz ppe42-binutils-62fb9fe1fcde9fd534fdc4f284257212804bb1fe.zip |
* config/bfin-aux.h: Remove argument names in function
declarations.
* config/bfin-lex.l (parse_int): Fix shadowed variable name
warning.
* config/bfin-parse.y (value_match): Remove argument names
in declaration.
(notethat): Likewise.
(yyerror): Likewise.
Diffstat (limited to 'gas/config/bfin-lex.l')
-rw-r--r-- | gas/config/bfin-lex.l | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gas/config/bfin-lex.l b/gas/config/bfin-lex.l index 03164b7b69..fc65949919 100644 --- a/gas/config/bfin-lex.l +++ b/gas/config/bfin-lex.l @@ -1,5 +1,5 @@ /* bfin-lex.l ADI Blackfin lexer - Copyright 2005, 2006, 2007, 2008 + Copyright 2005, 2006, 2007, 2008, 2010 Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. @@ -341,7 +341,6 @@ static long parse_int (char **end) int shiftvalue = 0; char * char_bag; long value = 0; - char c; char *arg = *end; while (*arg && *arg == ' ') @@ -363,7 +362,7 @@ static long parse_int (char **end) case '0': /* Accept different formated integers hex octal and binary. */ { - c = *++arg; + char c = *++arg; arg++; if (c == 'x' || c == 'X') /* Hex input. */ fmt = 'h'; @@ -460,7 +459,7 @@ static long parse_int (char **end) { while (1) { - int c; + char c; c = *arg++; if (c >= '0' && c <= '9') value = (value * 10) + (c - '0'); |