summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2012-02-03 12:16:57 +0000
committerEli Zaretskii <eliz@gnu.org>2012-02-03 12:16:57 +0000
commitc0751bd3fce253f09b4ebe2aed1c70bcbbc6ad20 (patch)
treeecb9b24621a6c0e591df95d4642c7a3a12ad8c68
parent1befa76448266208ee853f3e5b3a34a12807eaf4 (diff)
downloadgunmake-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--ChangeLog4
-rw-r--r--w32/subproc/sub_proc.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 53c1d0c..ab8e97c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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