aboutsummaryrefslogtreecommitdiff
path: root/libiberty/pex-win32.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2003-07-05 01:59:15 +0000
committerDJ Delorie <dj@redhat.com>2003-07-05 01:59:15 +0000
commitdbb9d0f3eee9d21097d4cf7ab4f3b49e53ae22ed (patch)
tree9af07bed1eef3f0c73f2a326821fa458e073d905 /libiberty/pex-win32.c
parent81563749a4906eb45ef79587607b4481f5ae5018 (diff)
downloadgdb-dbb9d0f3eee9d21097d4cf7ab4f3b49e53ae22ed.zip
gdb-dbb9d0f3eee9d21097d4cf7ab4f3b49e53ae22ed.tar.gz
gdb-dbb9d0f3eee9d21097d4cf7ab4f3b49e53ae22ed.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty/pex-win32.c')
-rw-r--r--libiberty/pex-win32.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/libiberty/pex-win32.c b/libiberty/pex-win32.c
index 24a55e8..27a5bb4 100644
--- a/libiberty/pex-win32.c
+++ b/libiberty/pex-win32.c
@@ -136,15 +136,16 @@ int
pexecute (program, argv, this_pname, temp_base, errmsg_fmt, errmsg_arg, flags)
const char *program;
char * const *argv;
- const char *this_pname;
- const char *temp_base;
+ const char *this_pname ATTRIBUTE_UNUSED;
+ const char *temp_base ATTRIBUTE_UNUSED;
char **errmsg_fmt, **errmsg_arg;
int flags;
{
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 retries, sleep_interval;
/* Pipe waiting from last process, to be used as input for the next one.
Value is STDIN_FILE_NO if no pipe is waiting
@@ -227,7 +228,7 @@ int
pwait (pid, status, flags)
int pid;
int *status;
- int flags;
+ int flags ATTRIBUTE_UNUSED;
{
int termstat;