aboutsummaryrefslogtreecommitdiff
path: root/opcodes/lm32-opc.h
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/lm32-opc.h')
-rw-r--r--opcodes/lm32-opc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/opcodes/lm32-opc.h b/opcodes/lm32-opc.h
index 82b3a1c..0ae4971 100644
--- a/opcodes/lm32-opc.h
+++ b/opcodes/lm32-opc.h
@@ -25,6 +25,10 @@ This file is part of the GNU Binutils and/or GDB, the GNU debugger.
#ifndef LM32_OPC_H
#define LM32_OPC_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* -- opc.h */
/* Allows reason codes to be output when assembler errors occur. */
@@ -102,4 +106,8 @@ struct cgen_fields
}
+ #ifdef __cplusplus
+ }
+ #endif
+
#endif /* LM32_OPC_H */