Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(144)

Unified Diff: gcc/libiberty/pex-common.h

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gcc/libiberty/make-temp-file.c ('k') | gcc/libiberty/pex-common.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/libiberty/pex-common.h
diff --git a/gcc/libiberty/pex-common.h b/gcc/libiberty/pex-common.h
index 5b7bfcc03ee3bc23fde19f2ad984269c35bc4a04..af338e6a34b0b6cc26304906e2930b2269c948c8 100644
--- a/gcc/libiberty/pex-common.h
+++ b/gcc/libiberty/pex-common.h
@@ -70,7 +70,7 @@ struct pex_obj
/* Number of child processes. */
int count;
/* PIDs of child processes; array allocated using malloc. */
- long *children;
+ pid_t *children;
/* Exit statuses of child processes; array allocated using malloc. */
int *status;
/* Time used by child processes; array allocated using malloc. */
@@ -126,7 +126,7 @@ struct pex_funcs
and time in *TIME (if it is not null). CHILD is from fork. DONE
is 1 if this is called via pex_free. ERRMSG and ERR are as in
fork. Return 0 on success, -1 on error. */
- int (*wait) (struct pex_obj *, pid_t /* child */, int * /* status */,
+ pid_t (*wait) (struct pex_obj *, pid_t /* child */, int * /* status */,
struct pex_time * /* time */, int /* done */,
const char ** /* errmsg */, int * /* err */);
/* Create a pipe (only called if PEX_USE_PIPES is set) storing two
« no previous file with comments | « gcc/libiberty/make-temp-file.c ('k') | gcc/libiberty/pex-common.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698