aboutsummaryrefslogtreecommitdiff
path: root/include/dis-asm.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-12-16 01:23:39 +0000
committerIan Lance Taylor <ian@airs.com>1999-12-16 01:23:39 +0000
commit7d7a673645f1ead2b07a4dac03031068123279f5 (patch)
treeb3ff8a73b55133da5949bd347e53f5e41965cf66 /include/dis-asm.h
parent48dfb43001b06090a7634c33bb2b8abd41fd77b6 (diff)
downloadgdb-7d7a673645f1ead2b07a4dac03031068123279f5.zip
gdb-7d7a673645f1ead2b07a4dac03031068123279f5.tar.gz
gdb-7d7a673645f1ead2b07a4dac03031068123279f5.tar.bz2
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.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/dis-asm.h b/include/dis-asm.h
index de40079..121b398 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) */