From 20c1dc5e9b8a82f41a041dab3d7d19604a25f2a4 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Sat, 7 Jun 2003 20:35:35 +0200 Subject: 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 --- gcc/ggc-none.c | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'gcc/ggc-none.c') 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); } -- cgit v1.1