diff options
Diffstat (limited to 'stm/malloc0.c')
-rw-r--r-- | stm/malloc0.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/stm/malloc0.c b/stm/malloc0.c index 7e3f620db2..eaa436f4fb 100644 --- a/stm/malloc0.c +++ b/stm/malloc0.c @@ -29,14 +29,6 @@ void *realloc(void *ptr, size_t n) { #endif -void *calloc(size_t sz, size_t n) { - char *ptr = malloc(sz * n); - for (int i = 0; i < sz * n; i++) { - ptr[i] = 0; - } - return ptr; -} - void *malloc(size_t n) { return gc_alloc(n); } |