From 0c55f6ed60a0b1b9c6ac47f8726191e48f90c052 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Wed, 6 Jul 2005 20:05:03 +0000 Subject: Eliminate (void) cast on standalone function calls throughout. --- winsup/cygwin/sigproc.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'winsup/cygwin/sigproc.cc') diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc index 93844c48a..d85064b18 100644 --- a/winsup/cygwin/sigproc.cc +++ b/winsup/cygwin/sigproc.cc @@ -129,9 +129,9 @@ wait_for_sigthread () { sigproc_printf ("wait_sig_inited %p", wait_sig_inited); HANDLE hsig_inited = wait_sig_inited; - (void) WaitForSingleObject (hsig_inited, INFINITE); + WaitForSingleObject (hsig_inited, INFINITE); wait_sig_inited = NULL; - (void) ForceCloseHandle1 (hsig_inited, wait_sig_inited); + ForceCloseHandle1 (hsig_inited, wait_sig_inited); } /* Get the sync_proc_subproc muto to control access to @@ -389,7 +389,7 @@ proc_terminate (void) { sync_proc_subproc.acquire (WPSP); - (void) proc_subproc (PROC_CLEARWAIT, 1); + proc_subproc (PROC_CLEARWAIT, 1); /* Clean out proc processes from the pid list. */ int i; @@ -457,7 +457,7 @@ sig_dispatch_pending (bool fast) #ifdef DEBUGGING sigproc_printf ("flushing"); #endif - (void) sig_send (myself, fast ? __SIGFLUSHFAST : __SIGFLUSH); + sig_send (myself, fast ? __SIGFLUSHFAST : __SIGFLUSH); } void __stdcall @@ -1000,7 +1000,7 @@ wait_sig (VOID *self) Static bool holding_signals; /* Initialization */ - (void) SetThreadPriority (GetCurrentThread (), WAIT_SIG_PRIORITY); + SetThreadPriority (GetCurrentThread (), WAIT_SIG_PRIORITY); if (!CreatePipe (&readsig, &myself->sendsig, sec_user_nih (sa_buf), 0)) api_fatal ("couldn't create signal pipe, %E"); -- cgit v1.2.3