* 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.
This commit is contained in:
Rob Savoye 1997-11-07 17:49:34 +00:00
parent 95469cebdd
commit 5805612890
2 changed files with 15 additions and 0 deletions

View file

@ -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>

View file

@ -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) */