[ARC] C++ compatibility for arc-dis.h
authorAnton Kolesov <Anton.Kolesov@synopsys.com>
Tue, 31 May 2016 15:40:09 +0000 (18:40 +0300)
committerClaudiu Zissulescu <claziss@synopsys.com>
Wed, 24 Aug 2016 12:23:00 +0000 (14:23 +0200)
opcodes/
2016-08-24  Anton Kolesov  <Anton.Kolesov@synopsys.com>

* arc-dis.h: Wrap around in extern "C".

Signed-off-by: Claudiu Zissulescu <claziss@synopsys.com>
opcodes/ChangeLog
opcodes/arc-dis.h

index b5dbc41ed1a486ff5f341304089a458217642c40..4b17726441377ef1c008eb9237e23a1929df55b8 100644 (file)
@@ -1,3 +1,7 @@
+2016-08-24  Anton Kolesov  <Anton.Kolesov@synopsys.com>
+
+       * arc-dis.h: Wrap around in extern "C".
+
 2016-08-23  Richard Sandiford  <richard.sandiford@arm.com>
 
        * aarch64-tbl.h (V8_2_INSN): New macro.
index a588f9782537e2d9994fa112982a5850a5b7498a..9abfd944543435e9c60f134409bf94320310a24f 100644 (file)
 #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
This page took 0.026758 seconds and 4 git commands to generate.