aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/frv-desc.h')
-rw-r--r--opcodes/frv-desc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/opcodes/frv-desc.h b/opcodes/frv-desc.h
index 229b4204095..831d82f57c4 100644
--- a/opcodes/frv-desc.h
+++ b/opcodes/frv-desc.h
@@ -25,6 +25,10 @@ This file is part of the GNU Binutils and/or GDB, the GNU debugger.
#ifndef FRV_CPU_H
#define FRV_CPU_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define CGEN_ARCH frv
/* Given symbol S, return frv_cgen_<S>. */
@@ -841,4 +845,8 @@ extern const CGEN_HW_ENTRY frv_cgen_hw_table[];
+ #ifdef __cplusplus
+ }
+ #endif
+
#endif /* FRV_CPU_H */