diff options
Diffstat (limited to 'contrib/gcc/ggc-none.c')
-rw-r--r-- | contrib/gcc/ggc-none.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/contrib/gcc/ggc-none.c b/contrib/gcc/ggc-none.c index ae3f6e9..3711475 100644 --- a/contrib/gcc/ggc-none.c +++ b/contrib/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); +} |