diff options
Diffstat (limited to 'gcc/genoutput.c')
-rwxr-xr-x | gcc/genoutput.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/genoutput.c b/gcc/genoutput.c index dfac50a..e3eb74e 100755 --- a/gcc/genoutput.c +++ b/gcc/genoutput.c @@ -904,27 +904,27 @@ gen_split (split) d->outfun = 0; } -PTR +void * xmalloc (size) size_t size; { - register PTR val = (PTR) malloc (size); + register void *val = malloc (size); if (val == 0) fatal ("virtual memory exhausted"); return val; } -PTR +void * xrealloc (old, size) - PTR old; + void *old; size_t size; { - register PTR ptr; + register void *ptr; if (old) - ptr = (PTR) realloc (old, size); + ptr = realloc (old, size); else - ptr = (PTR) malloc (size); + ptr = malloc (size); if (!ptr) fatal ("virtual memory exhausted"); return ptr; |