]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libiberty/pex-msdos.c
partition.h: Remove use of PARAMS.
[thirdparty/gcc.git] / libiberty / pex-msdos.c
index d61c129b97f53fb8a21d98282257990735f74a41..f91e416a66f4099a70fa1b4267919aa9a0ede488 100644 (file)
@@ -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