summaryrefslogtreecommitdiff
path: root/opcodes/openrisc-opc.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-10-09 08:54:58 +0000
committerNick Clifton <nickc@redhat.com>2001-10-09 08:54:58 +0000
commitb562564d710ff47bf0a9ca0e15adac0f7ec013b8 (patch)
tree1f654f53df939158b2bcdcba10616d3d0623627b /opcodes/openrisc-opc.h
parent321658845a61f461cac25486056302fd7002a88f (diff)
downloadbinutils-redhat-b562564d710ff47bf0a9ca0e15adac0f7ec013b8.tar.gz
Fix compile time warnings in cgen-generated files
Diffstat (limited to 'opcodes/openrisc-opc.h')
-rw-r--r--opcodes/openrisc-opc.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/opcodes/openrisc-opc.h b/opcodes/openrisc-opc.h
index 50515ac685..bdd7e2434e 100644
--- a/opcodes/openrisc-opc.h
+++ b/opcodes/openrisc-opc.h
@@ -26,11 +26,12 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#define OPENRISC_OPC_H
/* -- opc.h */
-#undef CGEN_DIS_HASH_SIZE
+#undef CGEN_DIS_HASH_SIZE
#define CGEN_DIS_HASH_SIZE 64
-#undef CGEN_DIS_HASH
+#undef CGEN_DIS_HASH
#define CGEN_DIS_HASH(buffer, value) (((unsigned char *) (buffer))[0] >> 2)
+extern long openrisc_sign_extend_16bit PARAMS ((long));
/* -- */
/* Enum declaration for openrisc instruction types. */
typedef enum cgen_insn_type {