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
commit5535cb4a887af6e4fb8da2ab4fef2731a05b1dd9 (patch)
tree3ffc37c6c69741db9544cfdd572d80d0d4c66bf0 /opcodes/openrisc-opc.h
parentf1bffdafb9d51746d4a92616d491a1fc2fa9c8bc (diff)
downloadgdb-5535cb4a887af6e4fb8da2ab4fef2731a05b1dd9.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 50515ac685a..bdd7e2434e0 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 {