diff options
author | kan <kan@FreeBSD.org> | 2003-07-11 03:40:53 +0000 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2003-07-11 03:40:53 +0000 |
commit | b2a8872fbe1ec1c49094559ac7b78e6ea4ab7180 (patch) | |
tree | f6b0610f4a17fd26aa234354f050080f789861a4 /contrib/gcc/ggc-none.c | |
parent | 52e69d78eee5612ac195e0701a5cebe40d1ab0e1 (diff) | |
download | FreeBSD-src-b2a8872fbe1ec1c49094559ac7b78e6ea4ab7180.zip FreeBSD-src-b2a8872fbe1ec1c49094559ac7b78e6ea4ab7180.tar.gz |
Gcc 3.3.1-pre as of 2003-07-11.
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); +} |