diff options
author | DJ Delorie <dj@redhat.com> | 2005-03-28 05:07:08 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2005-03-28 05:07:08 +0000 |
commit | 1e45deed6a87c05c9e669e3cdfdda47cbfa9531d (patch) | |
tree | e2c1bba3c03c5917c8e70792a921dfc6b6b5eef9 /libiberty/pex-djgpp.c | |
parent | 49b1fae4309ab5b9833f0af388483c2b6b4b3d50 (diff) | |
download | gdb-1e45deed6a87c05c9e669e3cdfdda47cbfa9531d.zip gdb-1e45deed6a87c05c9e669e3cdfdda47cbfa9531d.tar.gz gdb-1e45deed6a87c05c9e669e3cdfdda47cbfa9531d.tar.bz2 |
merge from gcc
Diffstat (limited to 'libiberty/pex-djgpp.c')
-rw-r--r-- | libiberty/pex-djgpp.c | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/libiberty/pex-djgpp.c b/libiberty/pex-djgpp.c index 968e784..fe5b80b 100644 --- a/libiberty/pex-djgpp.c +++ b/libiberty/pex-djgpp.c @@ -49,13 +49,9 @@ static int last_status = 0; static int last_reaped = 0; 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; - char **errmsg_fmt, **errmsg_arg; - int flags; +pexecute (const char *program, char * const *argv, const char *this_pname, + const char *temp_base, char **errmsg_fmt, + char **errmsg_arg, int flags) { int rc; @@ -82,10 +78,7 @@ pexecute (program, argv, this_pname, temp_base, errmsg_fmt, errmsg_arg, flags) } int -pwait (pid, status, flags) - int pid; - int *status; - int flags; +pwait (int pid, int *status, int flags) { /* On MSDOS each pexecute must be followed by its associated pwait. */ if (pid != last_pid |