From 5e46df9d745865c7393db00eb38fa6f546b88c84 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 16 Dec 1999 01:23:39 +0000 Subject: 1999-12-15 Doug Evans * dis-asm.h: Enclose in extern "C" ifdef __cplusplus. --- include/dis-asm.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include/dis-asm.h') diff --git a/include/dis-asm.h b/include/dis-asm.h index de40079634..121b398303 100644 --- a/include/dis-asm.h +++ b/include/dis-asm.h @@ -9,6 +9,10 @@ #ifndef DIS_ASM_H #define DIS_ASM_H +#ifdef __cplusplus +extern "C" { +#endif + #include #include "bfd.h" @@ -246,4 +250,8 @@ extern int generic_symbol_at_address (INFO).display_endian = BFD_ENDIAN_UNKNOWN, \ (INFO).insn_info_valid = 0 +#ifdef __cplusplus +}; +#endif + #endif /* ! defined (DIS_ASM_H) */ -- cgit v1.2.1