aboutsummaryrefslogtreecommitdiff
path: root/opcodes/microblaze-dis.h
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/microblaze-dis.h')
-rw-r--r--opcodes/microblaze-dis.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/opcodes/microblaze-dis.h b/opcodes/microblaze-dis.h
index a837ada..fd09745 100644
--- a/opcodes/microblaze-dis.h
+++ b/opcodes/microblaze-dis.h
@@ -22,6 +22,10 @@
#ifndef MICROBLAZE_DIS_H
#define MICROBLAZE_DIS_H 1
+#ifdef __cplusplus
+extern "C" {
+#endif
+
extern enum microblaze_instr microblaze_decode_insn (long, int *, int *,
int *, int *);
extern unsigned long microblaze_get_target_address (long, bfd_boolean, int,
@@ -31,4 +35,8 @@ extern enum microblaze_instr get_insn_microblaze (long, bfd_boolean *,
enum microblaze_instr_type *,
short *);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* microblaze-dis.h */