aboutsummaryrefslogtreecommitdiff
path: root/opcodes/openrisc-opc.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-09-20 15:28:25 +0000
committerNick Clifton <nickc@redhat.com>2001-09-20 15:28:25 +0000
commitfc05c67f12f75f93a4678cbcd8f1ab8c44beae23 (patch)
tree66d4ea8b7f69fdd8a4337a9a47f57dfaa2dfc1a6 /opcodes/openrisc-opc.c
parent16a419ba0165bc117f5408ed96a1d278e31b42a6 (diff)
downloadgdb-fc05c67f12f75f93a4678cbcd8f1ab8c44beae23.zip
gdb-fc05c67f12f75f93a4678cbcd8f1ab8c44beae23.tar.gz
gdb-fc05c67f12f75f93a4678cbcd8f1ab8c44beae23.tar.bz2
Fix compile time warnings
Diffstat (limited to 'opcodes/openrisc-opc.c')
-rw-r--r--opcodes/openrisc-opc.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/opcodes/openrisc-opc.c b/opcodes/openrisc-opc.c
index c0b2869..12ca306 100644
--- a/opcodes/openrisc-opc.c
+++ b/opcodes/openrisc-opc.c
@@ -35,10 +35,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
/* The hash functions are recorded here to help keep assembler code out of
the disassembler and vice versa. */
-static int asm_hash_insn_p PARAMS ((const CGEN_INSN *));
-static unsigned int asm_hash_insn PARAMS ((const char *));
-static int dis_hash_insn_p PARAMS ((const CGEN_INSN *));
-static unsigned int dis_hash_insn PARAMS ((const char *, CGEN_INSN_INT));
+static int asm_hash_insn_p PARAMS ((const CGEN_INSN *));
+static unsigned int asm_hash_insn PARAMS ((const char *));
+static int dis_hash_insn_p PARAMS ((const CGEN_INSN *));
+static unsigned int dis_hash_insn PARAMS ((const char *, CGEN_INSN_INT));
+static void set_fields_bitsize PARAMS ((CGEN_FIELDS *, int));
/* Instruction formats. */
@@ -594,7 +595,7 @@ static const CGEN_OPCODE openrisc_cgen_macro_insn_opcode_table[] =
static int
asm_hash_insn_p (insn)
- const CGEN_INSN *insn;
+ const CGEN_INSN *insn ATTRIBUTE_UNUSED;
{
return CGEN_ASM_HASH_P (insn);
}
@@ -645,7 +646,7 @@ asm_hash_insn (mnem)
static unsigned int
dis_hash_insn (buf, value)
const char * buf;
- CGEN_INSN_INT value;
+ CGEN_INSN_INT value ATTRIBUTE_UNUSED;
{
return CGEN_DIS_HASH (buf, value);
}