diff options
author | Christopher Faylor <me@cgf.cx> | 2005-07-06 20:05:03 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-07-06 20:05:03 +0000 |
commit | 0c55f6ed60a0b1b9c6ac47f8726191e48f90c052 (patch) | |
tree | bddbfd9cddc82d403fbfaa4f619e8f14c47159fe /winsup/cygwin/spawn.cc | |
parent | dee9edd9ed9fbe5f97367ad04d4203729e02ca9a (diff) | |
download | cygnal-0c55f6ed60a0b1b9c6ac47f8726191e48f90c052.tar.gz cygnal-0c55f6ed60a0b1b9c6ac47f8726191e48f90c052.tar.bz2 cygnal-0c55f6ed60a0b1b9c6ac47f8726191e48f90c052.zip |
Eliminate (void) cast on standalone function calls throughout.
Diffstat (limited to 'winsup/cygwin/spawn.cc')
-rw-r--r-- | winsup/cygwin/spawn.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/spawn.cc b/winsup/cygwin/spawn.cc index 6aef5feb6..2a85b7088 100644 --- a/winsup/cygwin/spawn.cc +++ b/winsup/cygwin/spawn.cc @@ -772,7 +772,7 @@ spawn_guts (const char * prog_arg, const char *const *argv, cleanup.oldquit = signal (SIGQUIT, SIG_IGN); sigemptyset (&child_block); sigaddset (&child_block, SIGCHLD); - (void) sigprocmask (SIG_BLOCK, &child_block, &cleanup.oldmask); + sigprocmask (SIG_BLOCK, &child_block, &cleanup.oldmask); } pthread_cleanup_push (do_cleanup, (void *) &cleanup); @@ -819,7 +819,7 @@ spawn_guts (const char * prog_arg, const char *const *argv, just in case we've been previously execed. */ myself.zap_cwd (); - (void) myself->dup_proc_pipe (pi.hProcess); + myself->dup_proc_pipe (pi.hProcess); } } else @@ -844,7 +844,7 @@ spawn_guts (const char * prog_arg, const char *const *argv, the fields filled out by child.remember do not disappear and so there is not a brief period during which the pid is not available. However, we should try to find another way to do this eventually. */ - (void) DuplicateHandle (hMainProc, child.shared_handle (), pi.hProcess, + DuplicateHandle (hMainProc, child.shared_handle (), pi.hProcess, NULL, 0, 0, DUPLICATE_SAME_ACCESS); child->start_time = time (NULL); /* Register child's starting time. */ child->nice = myself->nice; |