From 6ec1f4e023b5e2ec844a490e0a9364bacdab0c05 Mon Sep 17 00:00:00 2001 From: aj Date: Sat, 7 Jun 2003 18:35:35 +0000 Subject: * ggc.h: Convert to ISO C90 prototypes. * ggc-none.c: Likewise. * ggc-common.c: Likewise. * ggc-page.c: Likewise. * ggc-simple.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67596 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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 ceb1f4498f1..ee53e761a85 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.2.3