aboutsummaryrefslogtreecommitdiff
path: root/opcodes/arc-dis.h
diff options
context:
space:
mode:
authorAnton Kolesov <Anton.Kolesov@synopsys.com>2016-05-31 18:40:09 +0300
committerClaudiu Zissulescu <claziss@synopsys.com>2016-08-24 14:23:00 +0200
commitab548d2db9ac35675d1b700ecbf007ae0cf3d83d (patch)
tree776a8b4b40f35291a984dbe45c809a6049911f76 /opcodes/arc-dis.h
parent47f7f636bc8abc3c41848a412a68ca6aa36dbd21 (diff)
downloadgdb-ab548d2db9ac35675d1b700ecbf007ae0cf3d83d.zip
gdb-ab548d2db9ac35675d1b700ecbf007ae0cf3d83d.tar.gz
gdb-ab548d2db9ac35675d1b700ecbf007ae0cf3d83d.tar.bz2
[ARC] C++ compatibility for arc-dis.h
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>
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