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