aboutsummaryrefslogtreecommitdiff
path: root/opcodes/arc-dis.h
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/arc-dis.h')
-rw-r--r--opcodes/arc-dis.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/opcodes/arc-dis.h b/opcodes/arc-dis.h
index a588f97..9abfd94 100644
--- a/opcodes/arc-dis.h
+++ b/opcodes/arc-dis.h
@@ -22,6 +22,10 @@
#ifndef ARCDIS_H
#define ARCDIS_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
enum ARC_Debugger_OperandType
{
ARC_UNDEFINED,
@@ -102,4 +106,9 @@ struct arcDisState
struct arcDisState
arcAnalyzeInstr (bfd_vma memaddr, struct disassemble_info *);
+
+#ifdef __cplusplus
+}
+#endif
+
#endif