* exceptions.cc (sigframe::call_signal_handler): Move out side of "C" block or

some compilers will complain.
This commit is contained in:
Christopher Faylor 2001-04-01 05:38:08 +00:00
parent 11f3a79b64
commit 2a1743c76d
2 changed files with 16 additions and 7 deletions

View File

@ -1,3 +1,8 @@
Sun Apr 1 00:38:06 2001 Christopher Faylor <cgf@cygnus.com>
* exceptions.cc (sigframe::call_signal_handler): Move out side of "C"
block or some compilers will complain.
Sun Apr 1 00:24:14 2001 Christopher Faylor <cgf@cygnus.com>
* exceptions.cc (call_signal_handler_now): Rename from

View File

@ -1118,6 +1118,17 @@ events_terminate (void)
exit_already = 1;
}
extern "C" {
static int __stdcall call_signal_handler_now ();
};
int
sigframe::call_signal_handler ()
{
unregister ();
call_signal_handler_now ();
}
#define pid_offset (unsigned)(((_pinfo *)NULL)->pid)
extern "C" {
void __stdcall
@ -1137,13 +1148,6 @@ call_signal_handler_now ()
return sa_flags & SA_RESTART;
}
int
sigframe::call_signal_handler ()
{
unregister ();
call_signal_handler_now ();
}
void unused_sig_wrapper ()
{
/* Signal cleanup stuff. Cleans up stack (too bad that we didn't