Commit 7b96f3e4 by Danny Smith Committed by Danny Smith

pex-win32.c (pexecute): Mark parameters this_pname and temp_base as unused.

	* pex-win32.c (pexecute): Mark parameters this_pname and
	temp_base as unused. Remove unused variables retries,
	sleep_interval. Initialize org_stdin, org_stdout.
	(pwait): Mark parameter flags as unused.

From-SVN: r68953
parent e6cc3a24
2003-07-02 Danny Smith <dannysmith@users.source.forge.net> 2003-07-05 Danny Smith <dannysmith@users.sourceforge.net>
* pex-win32.c (pexecute): Mark parameters this_pname and
temp_base as unused. Remove unused variables retries,
sleep_interval. Initialize org_stdin, org_stdout.
(pwait): Mark parameter flags as unused.
2003-07-02 Danny Smith <dannysmith@users.sourceforge.net>
* pex-win32.c (fix_argv): Ensure that the executable pathname * pex-win32.c (fix_argv): Ensure that the executable pathname
uses Win32 backslashes. uses Win32 backslashes.
......
...@@ -136,15 +136,16 @@ int ...@@ -136,15 +136,16 @@ int
pexecute (program, argv, this_pname, temp_base, errmsg_fmt, errmsg_arg, flags) pexecute (program, argv, this_pname, temp_base, errmsg_fmt, errmsg_arg, flags)
const char *program; const char *program;
char * const *argv; char * const *argv;
const char *this_pname; const char *this_pname ATTRIBUTE_UNUSED;
const char *temp_base; const char *temp_base ATTRIBUTE_UNUSED;
char **errmsg_fmt, **errmsg_arg; char **errmsg_fmt, **errmsg_arg;
int flags; int flags;
{ {
int pid; int pid;
int pdes[2], org_stdin, org_stdout; int pdes[2];
int org_stdin = -1;
int org_stdout = -1;
int input_desc, output_desc; int input_desc, output_desc;
int retries, sleep_interval;
/* Pipe waiting from last process, to be used as input for the next one. /* Pipe waiting from last process, to be used as input for the next one.
Value is STDIN_FILE_NO if no pipe is waiting Value is STDIN_FILE_NO if no pipe is waiting
...@@ -227,7 +228,7 @@ int ...@@ -227,7 +228,7 @@ int
pwait (pid, status, flags) pwait (pid, status, flags)
int pid; int pid;
int *status; int *status;
int flags; int flags ATTRIBUTE_UNUSED;
{ {
int termstat; int termstat;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment