comparison libiberty/pex-msdos.c @ 55:77e2b8dfacca gcc-4.4.5

update it from 4.4.3 to 4.5.0
author ryoma <e075725@ie.u-ryukyu.ac.jp>
date Fri, 12 Feb 2010 23:39:51 +0900
parents a06113de4d67
children 04ced10e8804
comparison
equal deleted inserted replaced
52:c156f1bd5cd9 55:77e2b8dfacca
57 static pid_t pex_msdos_exec_child (struct pex_obj *, int, const char *, 57 static pid_t pex_msdos_exec_child (struct pex_obj *, int, const char *,
58 char * const *, char * const *, 58 char * const *, char * const *,
59 int, int, int, int, 59 int, int, int, int,
60 int, const char **, int *); 60 int, const char **, int *);
61 static int pex_msdos_close (struct pex_obj *, int); 61 static int pex_msdos_close (struct pex_obj *, int);
62 static int pex_msdos_wait (struct pex_obj *, pid_t, int *, struct pex_time *, 62 static pid_t pex_msdos_wait (struct pex_obj *, pid_t, int *, struct pex_time *,
63 int, const char **, int *); 63 int, const char **, int *);
64 static void pex_msdos_cleanup (struct pex_obj *); 64 static void pex_msdos_cleanup (struct pex_obj *);
65 65
66 /* The list of functions we pass to the common routines. */ 66 /* The list of functions we pass to the common routines. */
67 67
280 280
281 /* Wait for a child process to complete. Actually the child process 281 /* Wait for a child process to complete. Actually the child process
282 has already completed, and we just need to return the exit 282 has already completed, and we just need to return the exit
283 status. */ 283 status. */
284 284
285 static int 285 static pid_t
286 pex_msdos_wait (struct pex_obj *obj, pid_t pid, int *status, 286 pex_msdos_wait (struct pex_obj *obj, pid_t pid, int *status,
287 struct pex_time *time, int done ATTRIBUTE_UNUSED, 287 struct pex_time *time, int done ATTRIBUTE_UNUSED,
288 const char **errmsg ATTRIBUTE_UNUSED, 288 const char **errmsg ATTRIBUTE_UNUSED,
289 int *err ATTRIBUTE_UNUSED) 289 int *err ATTRIBUTE_UNUSED)
290 { 290 {