From 1f3233d13f58417984cb2239d328b65e8d172744 Mon Sep 17 00:00:00 2001 From: geoffk Date: Tue, 4 Jun 2002 07:11:05 +0000 Subject: Merge from pch-branch up to tag pch-commit-20020603. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54232 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ggc-none.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'gcc/ggc-none.c') diff --git a/gcc/ggc-none.c b/gcc/ggc-none.c index ae3f6e9a971..3711475dc0b 100644 --- a/gcc/ggc-none.c +++ b/gcc/ggc-none.c @@ -32,3 +32,18 @@ ggc_alloc (size) { return xmalloc (size); } + +void * +ggc_alloc_cleared (size) + size_t size; +{ + return xcalloc (size, 1); +} + +void * +ggc_realloc (x, size) + void *x; + size_t size; +{ + return xrealloc (x, size); +} -- cgit v1.2.3