diff options
author | Nick Clifton <nickc@redhat.com> | 2001-09-20 15:28:25 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2001-09-20 15:28:25 +0000 |
commit | fc05c67f12f75f93a4678cbcd8f1ab8c44beae23 (patch) | |
tree | 66d4ea8b7f69fdd8a4337a9a47f57dfaa2dfc1a6 /opcodes/m32r-ibld.c | |
parent | 16a419ba0165bc117f5408ed96a1d278e31b42a6 (diff) | |
download | gdb-fc05c67f12f75f93a4678cbcd8f1ab8c44beae23.zip gdb-fc05c67f12f75f93a4678cbcd8f1ab8c44beae23.tar.gz gdb-fc05c67f12f75f93a4678cbcd8f1ab8c44beae23.tar.bz2 |
Fix compile time warnings
Diffstat (limited to 'opcodes/m32r-ibld.c')
-rw-r--r-- | opcodes/m32r-ibld.c | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/opcodes/m32r-ibld.c b/opcodes/m32r-ibld.c index befebe9..3541f71 100644 --- a/opcodes/m32r-ibld.c +++ b/opcodes/m32r-ibld.c @@ -58,7 +58,18 @@ static int extract_insn_normal CGEN_INSN_INT, CGEN_FIELDS *, bfd_vma)); static void put_insn_int_value PARAMS ((CGEN_CPU_DESC, CGEN_INSN_BYTES_PTR, int, int, CGEN_INSN_INT)); - +const char * m32r_cgen_insert_operand + PARAMS ((CGEN_CPU_DESC, int, CGEN_FIELDS *, CGEN_INSN_BYTES_PTR, bfd_vma)); +int m32r_cgen_extract_operand + PARAMS ((CGEN_CPU_DESC, int, CGEN_EXTRACT_INFO *, CGEN_INSN_INT, CGEN_FIELDS *, bfd_vma)); +int m32r_cgen_get_int_operand + PARAMS ((CGEN_CPU_DESC, int, const CGEN_FIELDS *)); +bfd_vma m32r_cgen_get_vma_operand + PARAMS ((CGEN_CPU_DESC, int, const CGEN_FIELDS *)); +void m32r_cgen_set_int_operand + PARAMS ((CGEN_CPU_DESC, int, CGEN_FIELDS *, int)); +void m32r_cgen_set_vma_operand + PARAMS ((CGEN_CPU_DESC, int, CGEN_FIELDS *, bfd_vma)); /* Operand insertion. */ @@ -797,7 +808,7 @@ cgen_extract_fn * const m32r_cgen_extract_handlers[] = int m32r_cgen_get_int_operand (cd, opindex, fields) - CGEN_CPU_DESC cd; + CGEN_CPU_DESC cd ATTRIBUTE_UNUSED; int opindex; const CGEN_FIELDS * fields; { @@ -887,7 +898,7 @@ m32r_cgen_get_int_operand (cd, opindex, fields) bfd_vma m32r_cgen_get_vma_operand (cd, opindex, fields) - CGEN_CPU_DESC cd; + CGEN_CPU_DESC cd ATTRIBUTE_UNUSED; int opindex; const CGEN_FIELDS * fields; { @@ -982,7 +993,7 @@ m32r_cgen_get_vma_operand (cd, opindex, fields) void m32r_cgen_set_int_operand (cd, opindex, fields, value) - CGEN_CPU_DESC cd; + CGEN_CPU_DESC cd ATTRIBUTE_UNUSED; int opindex; CGEN_FIELDS * fields; int value; @@ -1068,7 +1079,7 @@ m32r_cgen_set_int_operand (cd, opindex, fields, value) void m32r_cgen_set_vma_operand (cd, opindex, fields, value) - CGEN_CPU_DESC cd; + CGEN_CPU_DESC cd ATTRIBUTE_UNUSED; int opindex; CGEN_FIELDS * fields; bfd_vma value; |