summaryrefslogtreecommitdiff
path: root/opcodes/iq2000-opc.c
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/iq2000-opc.c')
-rw-r--r--opcodes/iq2000-opc.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/opcodes/iq2000-opc.c b/opcodes/iq2000-opc.c
index e7af749e766..c4fa4387d20 100644
--- a/opcodes/iq2000-opc.c
+++ b/opcodes/iq2000-opc.c
@@ -3344,15 +3344,13 @@ static const CGEN_OPCODE iq2000_cgen_macro_insn_opcode_table[] =
Targets are free to override CGEN_{ASM,DIS}_HASH_P in the .opc file. */
static int
-asm_hash_insn_p (insn)
- const CGEN_INSN *insn ATTRIBUTE_UNUSED;
+asm_hash_insn_p (const CGEN_INSN *insn ATTRIBUTE_UNUSED)
{
return CGEN_ASM_HASH_P (insn);
}
static int
-dis_hash_insn_p (insn)
- const CGEN_INSN *insn;
+dis_hash_insn_p (const CGEN_INSN *insn)
{
/* If building the hash table and the NO-DIS attribute is present,
ignore. */
@@ -3384,8 +3382,7 @@ dis_hash_insn_p (insn)
Targets are free to override CGEN_{ASM,DIS}_HASH in the .opc file. */
static unsigned int
-asm_hash_insn (mnem)
- const char * mnem;
+asm_hash_insn (const char *mnem)
{
return CGEN_ASM_HASH (mnem);
}
@@ -3394,9 +3391,8 @@ asm_hash_insn (mnem)
VALUE is the first base_insn_bitsize bits as an int in host order. */
static unsigned int
-dis_hash_insn (buf, value)
- const char * buf ATTRIBUTE_UNUSED;
- CGEN_INSN_INT value ATTRIBUTE_UNUSED;
+dis_hash_insn (const char *buf ATTRIBUTE_UNUSED,
+ CGEN_INSN_INT value ATTRIBUTE_UNUSED)
{
return CGEN_DIS_HASH (buf, value);
}