1999-12-15 Doug Evans <dje@transmeta.com>

* dis-asm.h: Enclose in extern "C" ifdef __cplusplus.
This commit is contained in:
Ian Lance Taylor 1999-12-16 01:23:39 +00:00
parent 48dfb43001
commit 7d7a673645
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,7 @@
1999-12-15 Doug Evans <dje@transmeta.com>
* dis-asm.h: Enclose in extern "C" ifdef __cplusplus.
Sun Oct 24 19:11:32 1999 Andrew Cagney <cagney@b1.cygnus.com> Sun Oct 24 19:11:32 1999 Andrew Cagney <cagney@b1.cygnus.com>
* sim-d10v.h (SIM_D10V_TS2_DMAP_REGNUM): Define. * sim-d10v.h (SIM_D10V_TS2_DMAP_REGNUM): Define.

View File

@ -9,6 +9,10 @@
#ifndef DIS_ASM_H #ifndef DIS_ASM_H
#define DIS_ASM_H #define DIS_ASM_H
#ifdef __cplusplus
extern "C" {
#endif
#include <stdio.h> #include <stdio.h>
#include "bfd.h" #include "bfd.h"
@ -246,4 +250,8 @@ extern int generic_symbol_at_address
(INFO).display_endian = BFD_ENDIAN_UNKNOWN, \ (INFO).display_endian = BFD_ENDIAN_UNKNOWN, \
(INFO).insn_info_valid = 0 (INFO).insn_info_valid = 0
#ifdef __cplusplus
};
#endif
#endif /* ! defined (DIS_ASM_H) */ #endif /* ! defined (DIS_ASM_H) */