diff options
author | Eli Zaretskii <eliz@gnu.org> | 2012-02-03 12:16:57 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2012-02-03 12:16:57 +0000 |
commit | c0751bd3fce253f09b4ebe2aed1c70bcbbc6ad20 (patch) | |
tree | ecb9b24621a6c0e591df95d4642c7a3a12ad8c68 | |
parent | 1befa76448266208ee853f3e5b3a34a12807eaf4 (diff) | |
download | gunmake-c0751bd3fce253f09b4ebe2aed1c70bcbbc6ad20.tar.gz |
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.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | w32/subproc/sub_proc.c | 2 |
2 files changed, 6 insertions, 0 deletions
@@ -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 diff --git a/w32/subproc/sub_proc.c b/w32/subproc/sub_proc.c index 2b1b29c..799bbd6 100644 --- a/w32/subproc/sub_proc.c +++ b/w32/subproc/sub_proc.c @@ -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 |