aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/remote-sim.h8
1 files changed, 8 insertions, 0 deletions
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) */