diff options
author | Andreas Jaeger <aj@suse.de> | 2003-06-07 20:35:35 +0200 |
---|---|---|
committer | Andreas Jaeger <aj@gcc.gnu.org> | 2003-06-07 20:35:35 +0200 |
commit | 20c1dc5e9b8a82f41a041dab3d7d19604a25f2a4 (patch) | |
tree | e38d1bc08b7ca1fda6e483c32e4bc387f3fc87a9 /gcc/ggc-none.c | |
parent | 60e9f0d726fd28b960c5674a3c7beaf7015dbd34 (diff) | |
download | gcc-20c1dc5e9b8a82f41a041dab3d7d19604a25f2a4.zip gcc-20c1dc5e9b8a82f41a041dab3d7d19604a25f2a4.tar.gz gcc-20c1dc5e9b8a82f41a041dab3d7d19604a25f2a4.tar.bz2 |
ggc.h: Convert to ISO C90 prototypes.
* ggc.h: Convert to ISO C90 prototypes.
* ggc-none.c: Likewise.
* ggc-common.c: Likewise.
* ggc-page.c: Likewise.
* ggc-simple.c: Likewise.
From-SVN: r67596
Diffstat (limited to 'gcc/ggc-none.c')
-rw-r--r-- | gcc/ggc-none.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/gcc/ggc-none.c b/gcc/ggc-none.c index ceb1f44..ee53e76 100644 --- a/gcc/ggc-none.c +++ b/gcc/ggc-none.c @@ -1,5 +1,6 @@ /* Null garbage collection for the GNU compiler. - Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc. + Copyright (C) 1998, 1999, 2000, 2003 + Free Software Foundation, Inc. This file is part of GCC. @@ -29,23 +30,19 @@ #include "ggc.h" void * -ggc_alloc (size) - size_t size; +ggc_alloc (size_t size) { return xmalloc (size); } void * -ggc_alloc_cleared (size) - size_t size; +ggc_alloc_cleared (size_t size) { return xcalloc (size, 1); } void * -ggc_realloc (x, size) - void *x; - size_t size; +ggc_realloc (void *x, size_t size) { return xrealloc (x, size); } |