diff options
author | Rob Savoye <rob@cygnus> | 1997-11-07 17:49:34 +0000 |
---|---|---|
committer | Rob Savoye <rob@cygnus> | 1997-11-07 17:49:34 +0000 |
commit | 5805612890c6d4b70b95ae295335794fadbc2159 (patch) | |
tree | 245bfb9cc3b5a12f7a9dbf393080b0ac68ec3b5a /include/remote-sim.h | |
parent | 95469cebdd302ffd71ec96252e988c996ad6d1ca (diff) | |
download | gdb-5805612890c6d4b70b95ae295335794fadbc2159.zip gdb-5805612890c6d4b70b95ae295335794fadbc2159.tar.gz gdb-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.
Diffstat (limited to 'include/remote-sim.h')
-rw-r--r-- | include/remote-sim.h | 8 |
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) */ |