diff options
author | Christopher Faylor <me@cgf.cx> | 2001-04-01 05:38:08 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-04-01 05:38:08 +0000 |
commit | 2a1743c76d79235a3ed90aa4400333ca1c859c05 (patch) | |
tree | 2ddc34f1e11bcda52881ac04ade30ab89dfaae92 /winsup/cygwin/exceptions.cc | |
parent | 11f3a79b64ad13bf7c2483ed623643068f2c7b92 (diff) | |
download | cygnal-2a1743c76d79235a3ed90aa4400333ca1c859c05.tar.gz cygnal-2a1743c76d79235a3ed90aa4400333ca1c859c05.tar.bz2 cygnal-2a1743c76d79235a3ed90aa4400333ca1c859c05.zip |
* exceptions.cc (sigframe::call_signal_handler): Move out side of "C" block or
some compilers will complain.
Diffstat (limited to 'winsup/cygwin/exceptions.cc')
-rw-r--r-- | winsup/cygwin/exceptions.cc | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc index aa3fd1180..a56b35e8e 100644 --- a/winsup/cygwin/exceptions.cc +++ b/winsup/cygwin/exceptions.cc @@ -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 |