diff options
Diffstat (limited to 'src/stdlib/calloc.c')
| -rw-r--r-- | src/stdlib/calloc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/stdlib/calloc.c b/src/stdlib/calloc.c index f7d24dc0..9efec5b8 100644 --- a/src/stdlib/calloc.c +++ b/src/stdlib/calloc.c @@ -9,9 +9,11 @@ void * calloc(size_t nmemb, size_t size) { SIGNAL_SAFE(0); - return __jkmalloc(NULL, NULL, 0, NULL, 1, nmemb, size, NULL); + return __jkmalloc(NULL, 1, nmemb, size, NULL); } +CHECK_2(void *, NULL, calloc, size_t, size_t) + /*** allocates an array of ARGUMENT(nmemb) elements, each of which are ARGUMENT(size) bytes, and sets all their bits to 0. |
