aboutsummaryrefslogtreecommitdiff
path: root/libiberty/pex-djgpp.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2006-08-28 00:56:25 +0000
committerDJ Delorie <dj@redhat.com>2006-08-28 00:56:25 +0000
commitcb6c09ace53de4a2952de95ff0f1f91e4809fbaa (patch)
treef1bcc51e7ead9bc22f4332bf59ddac7302656d6b /libiberty/pex-djgpp.c
parent289397ccec5e89b311f173c9ea5df19cfb323587 (diff)
downloadgdb-cb6c09ace53de4a2952de95ff0f1f91e4809fbaa.zip
gdb-cb6c09ace53de4a2952de95ff0f1f91e4809fbaa.tar.gz
gdb-cb6c09ace53de4a2952de95ff0f1f91e4809fbaa.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty/pex-djgpp.c')
-rw-r--r--libiberty/pex-djgpp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libiberty/pex-djgpp.c b/libiberty/pex-djgpp.c
index acaa4c4..ac5a4f9 100644
--- a/libiberty/pex-djgpp.c
+++ b/libiberty/pex-djgpp.c
@@ -46,7 +46,7 @@ static int pex_djgpp_open_read (struct pex_obj *, const char *, int);
static int pex_djgpp_open_write (struct pex_obj *, const char *, int);
static long pex_djgpp_exec_child (struct pex_obj *, int, const char *,
char * const *, char * const *,
- int, int, int,
+ int, int, int, int,
const char **, int *);
static int pex_djgpp_close (struct pex_obj *, int);
static int pex_djgpp_wait (struct pex_obj *, long, int *, struct pex_time *,
@@ -114,7 +114,8 @@ static long
pex_djgpp_exec_child (struct pex_obj *obj, int flags, const char *executable,
char * const * argv, char * const * env,
int in, int out, int errdes,
- const char **errmsg, int *err)
+ int toclose ATTRIBUTE_UNUSED, const char **errmsg,
+ int *err)
{
int org_in, org_out, org_errdes;
int status;