diff options
author | Nick Clifton <nickc@redhat.com> | 2001-10-09 08:54:58 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2001-10-09 08:54:58 +0000 |
commit | 0e2ee3ca05685dd15a9aa629d3a7dd1a686e6351 (patch) | |
tree | d1ef0e67d43d562cc680363b5f6a09332efd8b65 /opcodes/m32r-opc.c | |
parent | 060adf0e2fe724875446490282915f9d83d3e42d (diff) | |
download | binutils-0e2ee3ca05685dd15a9aa629d3a7dd1a686e6351.zip binutils-0e2ee3ca05685dd15a9aa629d3a7dd1a686e6351.tar.gz binutils-0e2ee3ca05685dd15a9aa629d3a7dd1a686e6351.tar.bz2 |
Fix compile time warnings in cgen-generated files
Diffstat (limited to 'opcodes/m32r-opc.c')
-rw-r--r-- | opcodes/m32r-opc.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/opcodes/m32r-opc.c b/opcodes/m32r-opc.c index 5793ad6..56e7c93 100644 --- a/opcodes/m32r-opc.c +++ b/opcodes/m32r-opc.c @@ -33,11 +33,10 @@ 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 void set_fields_bitsize PARAMS ((CGEN_FIELDS *, 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)); /* Instruction formats. */ @@ -1652,12 +1651,14 @@ asm_hash_insn (mnem) static unsigned int dis_hash_insn (buf, value) - const char * buf; + const char * buf ATTRIBUTE_UNUSED; CGEN_INSN_INT value ATTRIBUTE_UNUSED; { return CGEN_DIS_HASH (buf, value); } +static void set_fields_bitsize PARAMS ((CGEN_FIELDS *, int)); + /* Set the recorded length of the insn in the CGEN_FIELDS struct. */ static void |