Ifdef away unused w32 functions.

w32/subproc/sub_proc.c (proc_stdin_thread, proc_stdout_thread)
 (proc_stderr_thread, process_pipe_io): Ifdef away unused
 functions.
This commit is contained in:
Eli Zaretskii 2012-02-03 12:16:57 +00:00
parent 1befa76448
commit c0751bd3fc
2 changed files with 6 additions and 0 deletions

View File

@ -1,5 +1,9 @@
2012-02-03 Eli Zaretskii <eliz@gnu.org>
* w32/subproc/sub_proc.c (proc_stdin_thread, proc_stdout_thread)
(proc_stderr_thread, process_pipe_io): Ifdef away unused
functions.
* w32/subproc/w32err.c (map_windows32_error_to_string) [_MSC_VER]:
Don't use TLS storage for szMessageBuffer. Ifdef away special
code for handling Winsock error codes. Make the function return a

View File

@ -731,6 +731,7 @@ process_begin(
#if 0 /* unused */
static DWORD
proc_stdin_thread(sub_process *pproc)
{
@ -975,6 +976,7 @@ process_pipe_io(
return(0);
}
#endif /* unused */
/*
* Purpose: collects output from child process and returns results