aboutsummaryrefslogtreecommitdiff
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
commit0e2ee3ca05685dd15a9aa629d3a7dd1a686e6351 (patch)
treed1ef0e67d43d562cc680363b5f6a09332efd8b65 /opcodes/openrisc-opc.h
parent060adf0e2fe724875446490282915f9d83d3e42d (diff)
downloadfsf-binutils-gdb-0e2ee3ca05685dd15a9aa629d3a7dd1a686e6351.zip
fsf-binutils-gdb-0e2ee3ca05685dd15a9aa629d3a7dd1a686e6351.tar.gz
fsf-binutils-gdb-0e2ee3ca05685dd15a9aa629d3a7dd1a686e6351.tar.bz2
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 50515ac..bdd7e24 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 {