aboutsummaryrefslogtreecommitdiff
path: root/include/opcode/sparc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/opcode/sparc.h')
-rw-r--r--include/opcode/sparc.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/opcode/sparc.h b/include/opcode/sparc.h
index 6eaa8ba..ff88092 100644
--- a/include/opcode/sparc.h
+++ b/include/opcode/sparc.h
@@ -21,6 +21,10 @@
#include "ansidecl.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* The SPARC opcode table (and other related data) is defined in
the opcodes library in sparc-opc.c. If you change anything here, make
sure you fix up that file, and vice versa. */
@@ -295,3 +299,6 @@ extern const char *sparc_decode_sparclet_cpreg (int);
comment-column: 0
End: */
+#ifdef __cplusplus
+}
+#endif