summaryrefslogtreecommitdiff
path: root/opcodes/sh-opc.h
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/sh-opc.h')
-rw-r--r--opcodes/sh-opc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/opcodes/sh-opc.h b/opcodes/sh-opc.h
index 46ce5ab3364..13bf5c74206 100644
--- a/opcodes/sh-opc.h
+++ b/opcodes/sh-opc.h
@@ -20,6 +20,10 @@
#include "bfd.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef enum
{
HEX_0,
@@ -1197,4 +1201,8 @@ const sh_opcode_info sh_table[] =
{ 0, {0}, {0}, 0 }
};
+#ifdef __cplusplus
+}
+#endif
+
#endif