summaryrefslogtreecommitdiff
path: root/gcc/ggc-none.c
diff options
context:
space:
mode:
authoraj <aj@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-07 18:35:35 +0000
committeraj <aj@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-07 18:35:35 +0000
commit6ec1f4e023b5e2ec844a490e0a9364bacdab0c05 (patch)
treee38d1bc08b7ca1fda6e483c32e4bc387f3fc87a9 /gcc/ggc-none.c
parenta3cef0cf3594b7f7e54cad0fabd05584daf96849 (diff)
downloadgcc-6ec1f4e023b5e2ec844a490e0a9364bacdab0c05.tar.gz
* 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
Diffstat (limited to 'gcc/ggc-none.c')
-rw-r--r--gcc/ggc-none.c13
1 files changed, 5 insertions, 8 deletions
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);
}