X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=opcodes%2Fip2k-opc.h;h=17b76dc522ce3b1db2c662c42c584f53d2ea3f79;hb=6e29ef6d2828415f5ee2d6e1690d13bc40a8d5d4;hp=6d0d0161c92ea8fe4da14f9c43d46528d5050475;hpb=f4321104139af96b8cc3d4946b4e5233d9fa1eab;p=deliverable%2Fbinutils-gdb.git diff --git a/opcodes/ip2k-opc.h b/opcodes/ip2k-opc.h index 6d0d0161c9..17b76dc522 100644 --- a/opcodes/ip2k-opc.h +++ b/opcodes/ip2k-opc.h @@ -36,14 +36,14 @@ with this program; if not, write to the Free Software Foundation, Inc., /* Override disassembly hashing - there are variable bits in the top byte of these instructions. */ #define CGEN_DIS_HASH_SIZE 8 -#define CGEN_DIS_HASH(buf,value) (((* (unsigned char*) (buf)) >> 5) % CGEN_DIS_HASH_SIZE) +#define CGEN_DIS_HASH(buf, value) \ + (((* (unsigned char*) (buf)) >> 5) % CGEN_DIS_HASH_SIZE) #define CGEN_ASM_HASH_SIZE 127 -#define CGEN_ASM_HASH(insn) ip2k_asm_hash(insn) +#define CGEN_ASM_HASH(insn) ip2k_asm_hash (insn) -extern unsigned int ip2k_asm_hash PARAMS ((const char *insn)); -extern int ip2k_cgen_insn_supported - PARAMS ((CGEN_CPU_DESC, const CGEN_INSN *)); +extern unsigned int ip2k_asm_hash (const char *); +extern int ip2k_cgen_insn_supported (CGEN_CPU_DESC, const CGEN_INSN *); /* -- opc.c */ /* Enum declaration for ip2k instruction types. */