aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Savoye <rob@cygnus>1997-11-07 17:49:34 +0000
committerRob Savoye <rob@cygnus>1997-11-07 17:49:34 +0000
commit5805612890c6d4b70b95ae295335794fadbc2159 (patch)
tree245bfb9cc3b5a12f7a9dbf393080b0ac68ec3b5a
parent95469cebdd302ffd71ec96252e988c996ad6d1ca (diff)
downloadbinutils-5805612890c6d4b70b95ae295335794fadbc2159.zip
binutils-5805612890c6d4b70b95ae295335794fadbc2159.tar.gz
binutils-5805612890c6d4b70b95ae295335794fadbc2159.tar.bz2
* include/libiberty.h: Add extern "C" { so it can be used with C++
progrms. * include/remote-sim.h: Add extern "C" { so it can be used with C++ programs.
-rw-r--r--ChangeLog7
-rw-r--r--include/remote-sim.h8
2 files changed, 15 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 1d2a9b7..ba238bd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Fri Nov 7 10:34:09 1997 Rob Savoye <rob@darkstar.cygnus.com>
+
+ * include/libiberty.h: Add extern "C" { so it can be used with C++
+ progrms.
+ * include/remote-sim.h: Add extern "C" { so it can be used with C++
+ programs.
+
start-sanitize-tx19
Wed Nov 5 11:14:44 1997 Gavin Koch <gavin@cygnus.com>
diff --git a/include/remote-sim.h b/include/remote-sim.h
index d1ded53..c4fecc0 100644
--- a/include/remote-sim.h
+++ b/include/remote-sim.h
@@ -20,6 +20,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#if !defined (REMOTE_SIM_H)
#define REMOTE_SIM_H 1
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* This file is used when building stand-alone simulators, so isolate this
file from gdb. */
@@ -294,4 +298,8 @@ void sim_set_profile_size PARAMS ((int n));
void sim_kill PARAMS ((SIM_DESC sd));
+#ifdef __cplusplus
+}
+#endif
+
#endif /* !defined (REMOTE_SIM_H) */