aboutsummaryrefslogtreecommitdiff
path: root/opcodes/arc-ext.h
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/arc-ext.h')
-rw-r--r--opcodes/arc-ext.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/opcodes/arc-ext.h b/opcodes/arc-ext.h
index e92a350..9e41f5b 100644
--- a/opcodes/arc-ext.h
+++ b/opcodes/arc-ext.h
@@ -41,6 +41,10 @@
#include "opcode/arc.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define IGNORE_FIRST_OPD 1
/* Define this if we do not want to encode instructions based on the
@@ -131,4 +135,8 @@ extern struct arc_opcode *arcExtMap_genOpcode (const extInstruction_t *,
/* Dump function (for debugging). */
extern void dump_ARC_extmap (void);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* ARC_EXTENSIONS_H */