aboutsummaryrefslogtreecommitdiff
path: root/opcodes/xc16x-desc.h
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/xc16x-desc.h')
-rw-r--r--opcodes/xc16x-desc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/opcodes/xc16x-desc.h b/opcodes/xc16x-desc.h
index 3a3ce67..8daedfe 100644
--- a/opcodes/xc16x-desc.h
+++ b/opcodes/xc16x-desc.h
@@ -25,6 +25,10 @@ This file is part of the GNU Binutils and/or GDB, the GNU debugger.
#ifndef XC16X_CPU_H
#define XC16X_CPU_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define CGEN_ARCH xc16x
/* Given symbol S, return xc16x_cgen_<S>. */
@@ -444,4 +448,8 @@ extern const CGEN_HW_ENTRY xc16x_cgen_hw_table[];
+ #ifdef __cplusplus
+ }
+ #endif
+
#endif /* XC16X_CPU_H */