diff options
author | Christopher Faylor <me@cgf.cx> | 2005-07-07 00:05:03 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-07-07 00:05:03 +0400 |
commit | 0c55f6ed60a0b1b9c6ac47f8726191e48f90c052 (patch) | |
tree | bddbfd9cddc82d403fbfaa4f619e8f14c47159fe /winsup/cygwin/signal.cc | |
parent | dee9edd9ed9fbe5f97367ad04d4203729e02ca9a (diff) |
Eliminate (void) cast on standalone function calls throughout.
Diffstat (limited to 'winsup/cygwin/signal.cc')
-rw-r--r-- | winsup/cygwin/signal.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/winsup/cygwin/signal.cc b/winsup/cygwin/signal.cc index b3a0e31c1..5df1925cb 100644 --- a/winsup/cygwin/signal.cc +++ b/winsup/cygwin/signal.cc @@ -94,7 +94,7 @@ nanosleep (const struct timespec *rqtp, struct timespec *rmtp) rem = 0; if (rc == WAIT_OBJECT_0) { - (void) _my_tls.call_signal_handler (); + _my_tls.call_signal_handler (); set_errno (EINTR); res = -1; } @@ -172,7 +172,7 @@ handle_sigprocmask (int how, const sigset_t *set, sigset_t *oldset, sigset_t& op newmask = *set; break; } - (void) set_signal_mask (newmask, opmask); + set_signal_mask (newmask, opmask); } return 0; } @@ -208,7 +208,7 @@ _pinfo::kill (siginfo_t& si) si2.si_signo = SIGCONT; si2.si_code = SI_KERNEL; si2.si_pid = si2.si_uid = si2.si_errno = 0; - (void) sig_send (this, si2); + sig_send (this, si2); } syscall_printf ("%d = _pinfo::kill (%d, %d), process_state %p", res, pid, @@ -332,7 +332,7 @@ abort (void) set_signal_mask (sig_mask); raise (SIGABRT); - (void) _my_tls.call_signal_handler (); /* Call any signal handler */ + _my_tls.call_signal_handler (); /* Call any signal handler */ do_exit (SIGABRT); /* signal handler didn't exit. Goodbye. */ } @@ -466,7 +466,7 @@ extern "C" int siginterrupt (int sig, int flag) { struct sigaction act; - (void) sigaction(sig, NULL, &act); + sigaction(sig, NULL, &act); if (flag) act.sa_flags &= ~SA_RESTART; else |