diff options
author | Trevor Saunders <tbsaunde+binutils@tbsaunde.org> | 2016-05-29 04:29:22 -0400 |
---|---|---|
committer | Trevor Saunders <tbsaunde+binutils@tbsaunde.org> | 2016-06-01 21:26:32 -0400 |
commit | 1fe0971e41a4097610862acabf54a896695fe834 (patch) | |
tree | 28a39e6d20644048ad87c57f257e8ec81db4cb4e /include/opcode/ppc.h | |
parent | 814f1489e9d1d92a30d94d69a0066addcc564bd2 (diff) | |
download | binutils-1fe0971e41a4097610862acabf54a896695fe834.zip binutils-1fe0971e41a4097610862acabf54a896695fe834.tar.gz binutils-1fe0971e41a4097610862acabf54a896695fe834.tar.bz2 |
add more extern C
opcodes/ChangeLog:
2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
* nds32-asm.h: Add extern "C".
* sh-opc.h: Likewise.
bfd/ChangeLog:
2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
* elf32-hppa.h: Add extern "C".
* elf32-nds32.h: Likewise.
* elf32-tic6x.h: Likewise.
include/ChangeLog:
2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
* elf/mips.h: Likewise.
* elf/sh.h: Likewise.
* opcode/d10v.h: Likewise.
* opcode/d30v.h: Likewise.
* opcode/ia64.h: Likewise.
* opcode/mips.h: Likewise.
* opcode/ppc.h: Likewise.
* opcode/sparc.h: Likewise.
* opcode/tic6x.h: Likewise.
* opcode/v850.h: Likewise.
Diffstat (limited to 'include/opcode/ppc.h')
-rw-r--r-- | include/opcode/ppc.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/opcode/ppc.h b/include/opcode/ppc.h index df985eb..628a7a1 100644 --- a/include/opcode/ppc.h +++ b/include/opcode/ppc.h @@ -24,6 +24,10 @@ #include "bfd_stdint.h" +#ifdef __cplusplus +extern "C" { +#endif + typedef uint64_t ppc_cpu_t; /* The opcode table is an array of struct powerpc_opcode. */ @@ -437,4 +441,8 @@ ppc_optional_operand_value (const struct powerpc_operand *operand) return 0; } +#ifdef __cplusplus +} +#endif + #endif /* PPC_H */ |