aboutsummaryrefslogtreecommitdiff
path: root/include/opcode/msp430-decode.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/opcode/msp430-decode.h')
-rw-r--r--include/opcode/msp430-decode.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/opcode/msp430-decode.h b/include/opcode/msp430-decode.h
index 3960278..3edd3f2 100644
--- a/include/opcode/msp430-decode.h
+++ b/include/opcode/msp430-decode.h
@@ -19,6 +19,10 @@
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
02110-1301, USA. */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef enum
{
MSO_unknown,
@@ -128,3 +132,7 @@ typedef struct
} MSP430_Opcode_Decoded;
int msp430_decode_opcode (unsigned long, MSP430_Opcode_Decoded *, int (*)(void *), void *);
+
+#ifdef __cplusplus
+}
+#endif