aboutsummaryrefslogtreecommitdiff
path: root/opcodes/cgen-asm.c
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2000-07-26 22:45:49 +0000
committerDave Brolley <brolley@redhat.com>2000-07-26 22:45:49 +0000
commit510925d36efcfe58c5b42dabd950899221cdf26b (patch)
treee8caa926f346a3a4b8b686d33993b16ed303053e /opcodes/cgen-asm.c
parent9d551405defb4c10fe3006b9ef7a8d42a8fb4a95 (diff)
downloadgdb-510925d36efcfe58c5b42dabd950899221cdf26b.zip
gdb-510925d36efcfe58c5b42dabd950899221cdf26b.tar.gz
gdb-510925d36efcfe58c5b42dabd950899221cdf26b.tar.bz2
2000-07-26 Dave Brolley <brolley@redhat.com>
* cgen-opc.c (cgen_hw_lookup_by_name): 'i' is now unsigned. (cgen_hw_lookup_by_num): Ditto. (cgen_operand_lookup_by_name): Ditto. (print_address): Ditto. (print_keyword): Ditto. * cgen-dis.c (hash_insn_array): Mark unused parameters with ATTRIBUTE_UNUSED. * cgen-asm.c (hash_insn_array): Mark unused parameters with ATTRIBUTE_UNUSED. (cgen_parse_keyword): Ditto.
Diffstat (limited to 'opcodes/cgen-asm.c')
-rw-r--r--opcodes/cgen-asm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/opcodes/cgen-asm.c b/opcodes/cgen-asm.c
index 4ed6936..1e7ef2c 100644
--- a/opcodes/cgen-asm.c
+++ b/opcodes/cgen-asm.c
@@ -66,7 +66,7 @@ hash_insn_array (cd, insns, count, entsize, htable, hentbuf)
CGEN_CPU_DESC cd;
const CGEN_INSN *insns;
int count;
- int entsize;
+ int entsize ATTRIBUTE_UNUSED;
CGEN_INSN_LIST **htable;
CGEN_INSN_LIST *hentbuf;
{
@@ -198,7 +198,7 @@ cgen_asm_lookup_insn (cd, insn)
const char *
cgen_parse_keyword (cd, strp, keyword_table, valuep)
- CGEN_CPU_DESC cd;
+ CGEN_CPU_DESC cd ATTRIBUTE_UNUSED;
const char **strp;
CGEN_KEYWORD *keyword_table;
long *valuep;