diff options
Diffstat (limited to 'ace/Signal.cpp')
-rw-r--r-- | ace/Signal.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/ace/Signal.cpp b/ace/Signal.cpp index 1b51fd03492..6fbcccb6bd4 100644 --- a/ace/Signal.cpp +++ b/ace/Signal.cpp @@ -374,11 +374,7 @@ ACE_Sig_Handler::remove_handler (int signum, if (ACE_Sig_Handler::in_range (signum)) { -#if defined (ACE_PSOS) - ACE_Sig_Action sa ((ACE_SignalHandler) 0, (sigset_t *) 0); -#else ACE_Sig_Action sa (SIG_DFL, (sigset_t *) 0); // Define the default disposition. -#endif /* defined (ACE_PSOS) */ if (new_disp == 0) new_disp = &sa; @@ -419,11 +415,7 @@ ACE_Sig_Handler::dispatch (int signum, if (eh->handle_signal (signum, siginfo, ucontext) == -1) { // Define the default disposition. -#if defined (ACE_PSOS) - ACE_Sig_Action sa ((ACE_SignalHandler) 0, (sigset_t *) 0); -#else ACE_Sig_Action sa (SIG_DFL, (sigset_t *) 0); -#endif /* defined (ACE_PSOS) */ ACE_Sig_Handler::signal_handlers_[signum] = 0; @@ -748,11 +740,7 @@ ACE_Sig_Handlers::remove_handler (int signum, // register the new disposition or restore the default // disposition. -#if defined (ACE_PSOS) - ACE_Sig_Action sa ((ACE_SignalHandler) 0, (sigset_t *) 0); -#else ACE_Sig_Action sa (SIG_DFL, (sigset_t *) 0); -#endif /* defined (ACE_PSOS) */ if (new_disp == 0) new_disp = &sa; |