diff options
author | DJ Delorie <dj@delorie.com> | 2005-03-28 05:07:08 +0000 |
---|---|---|
committer | DJ Delorie <dj@delorie.com> | 2005-03-28 05:07:08 +0000 |
commit | eb0e4f9cefc1d530da0654474f7a909f07ee77d3 (patch) | |
tree | 5f0563b072f5e292e6c10e44250653ca9048f83c /libiberty/pex-msdos.c | |
parent | 330f7c1a6218d3b4a10b5b571eee65f3d53b64ac (diff) | |
download | gdb-eb0e4f9cefc1d530da0654474f7a909f07ee77d3.tar.gz |
merge from gcc
Diffstat (limited to 'libiberty/pex-msdos.c')
-rw-r--r-- | libiberty/pex-msdos.c | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/libiberty/pex-msdos.c b/libiberty/pex-msdos.c index d61c129b97f..f91e416a66f 100644 --- a/libiberty/pex-msdos.c +++ b/libiberty/pex-msdos.c @@ -47,13 +47,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; char *scmd, *rf; @@ -126,10 +122,7 @@ pexecute (program, argv, this_pname, temp_base, errmsg_fmt, errmsg_arg, flags) #endif 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 |