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