diff options
author | Ian Lance Taylor <iant@google.com> | 1999-12-16 01:23:39 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 1999-12-16 01:23:39 +0000 |
commit | 6b55bdd0c0327fe64c694cdeb9dc8624b6c870e2 (patch) | |
tree | 27baf3aeab39e7d1b10a1f0f2fa5b840dd65625e /include/dis-asm.h | |
parent | 5faf7e0b9500ab0fa08b269381b8aab823e2f0b8 (diff) | |
download | cygnal-6b55bdd0c0327fe64c694cdeb9dc8624b6c870e2.tar.gz cygnal-6b55bdd0c0327fe64c694cdeb9dc8624b6c870e2.tar.bz2 cygnal-6b55bdd0c0327fe64c694cdeb9dc8624b6c870e2.zip |
1999-12-15 Doug Evans <dje@transmeta.com>
* dis-asm.h: Enclose in extern "C" ifdef __cplusplus.
Diffstat (limited to 'include/dis-asm.h')
-rw-r--r-- | include/dis-asm.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/dis-asm.h b/include/dis-asm.h index de4007963..121b39830 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 <stdio.h> #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) */ |