projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
make md_parse_option () take a const char *
[binutils-gdb.git]
/
gas
/
config
/
tc-i960.c
diff --git
a/gas/config/tc-i960.c
b/gas/config/tc-i960.c
index d09e3cfbc532247ed23fa153a5f8660968704b3c..8a8f31cd6263542a4ecee43ea9e828506521019a 100644
(file)
--- a/
gas/config/tc-i960.c
+++ b/
gas/config/tc-i960.c
@@
-1827,7
+1827,7
@@
static const struct tabentry arch_tab[] =
};
int
-md_parse_option (int c, char *arg)
+md_parse_option (int c, c
onst c
har *arg)
{
switch (c)
{
@@
-1847,7
+1847,7
@@
md_parse_option (int c, char *arg)
case 'A':
{
const struct tabentry *tp;
- char *p = arg;
+ c
onst c
har *p = arg;
for (tp = arch_tab; tp->flag != NULL; tp++)
if (!strcmp (p, tp->flag))