diff options
author | Trevor Saunders <tbsaunde+binutils@tbsaunde.org> | 2016-06-03 23:11:46 -0400 |
---|---|---|
committer | Trevor Saunders <tbsaunde+binutils@tbsaunde.org> | 2016-06-22 12:59:58 -0400 |
commit | 6b4778968b298715ba78208bf047d72243961d49 (patch) | |
tree | cef486f88b7be7be7cc7d7b168d1b78c9d1ddbb2 /include/opcode | |
parent | 96037eb0b8c22e0b080863362bee4a4f6fc476ed (diff) | |
download | gdb-6b4778968b298715ba78208bf047d72243961d49.zip gdb-6b4778968b298715ba78208bf047d72243961d49.tar.gz gdb-6b4778968b298715ba78208bf047d72243961d49.tar.bz2 |
addmore extern C
opcodes/ChangeLog:
2016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
* arc-ext.h: Wrap in extern C.
include/ChangeLog:
2016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
* elf/dlx.h: Wrap in extern C.
* elf/xtensa.h: Likewise.
* opcode/arc.h: Likewise.
Diffstat (limited to 'include/opcode')
-rw-r--r-- | include/opcode/arc.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/opcode/arc.h b/include/opcode/arc.h index f8f1955..df89e3c 100644 --- a/include/opcode/arc.h +++ b/include/opcode/arc.h @@ -24,6 +24,10 @@ #ifndef OPCODE_ARC_H #define OPCODE_ARC_H +#ifdef __cplusplus +extern "C" { +#endif + #ifndef MAX_INSN_ARGS #define MAX_INSN_ARGS 16 #endif @@ -604,4 +608,8 @@ extern const unsigned char arg_32bit_rc[MAX_INSN_ARGS + 1]; extern const unsigned char arg_32bit_u6[MAX_INSN_ARGS + 1]; extern const unsigned char arg_32bit_limm[MAX_INSN_ARGS + 1]; +#ifdef __cplusplus +} +#endif + #endif /* OPCODE_ARC_H */ |