Mercurial > hg > CbC > CbC_gcc
comparison libiberty/pex-djgpp.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 |
---|---|
47 static pid_t pex_djgpp_exec_child (struct pex_obj *, int, const char *, | 47 static pid_t pex_djgpp_exec_child (struct pex_obj *, int, const char *, |
48 char * const *, char * const *, | 48 char * const *, char * const *, |
49 int, int, int, int, | 49 int, int, int, int, |
50 const char **, int *); | 50 const char **, int *); |
51 static int pex_djgpp_close (struct pex_obj *, int); | 51 static int pex_djgpp_close (struct pex_obj *, int); |
52 static int pex_djgpp_wait (struct pex_obj *, pid_t, int *, struct pex_time *, | 52 static pid_t pex_djgpp_wait (struct pex_obj *, pid_t, int *, struct pex_time *, |
53 int, const char **, int *); | 53 int, const char **, int *); |
54 | 54 |
55 /* The list of functions we pass to the common routines. */ | 55 /* The list of functions we pass to the common routines. */ |
56 | 56 |
57 const struct pex_funcs funcs = | 57 const struct pex_funcs funcs = |
274 | 274 |
275 /* Wait for a child process to complete. Actually the child process | 275 /* Wait for a child process to complete. Actually the child process |
276 has already completed, and we just need to return the exit | 276 has already completed, and we just need to return the exit |
277 status. */ | 277 status. */ |
278 | 278 |
279 static int | 279 static pid_t |
280 pex_djgpp_wait (struct pex_obj *obj, pid_t pid, int *status, | 280 pex_djgpp_wait (struct pex_obj *obj, pid_t pid, int *status, |
281 struct pex_time *time, int done ATTRIBUTE_UNUSED, | 281 struct pex_time *time, int done ATTRIBUTE_UNUSED, |
282 const char **errmsg ATTRIBUTE_UNUSED, | 282 const char **errmsg ATTRIBUTE_UNUSED, |
283 int *err ATTRIBUTE_UNUSED) | 283 int *err ATTRIBUTE_UNUSED) |
284 { | 284 { |