diff options
Diffstat (limited to 'src/stdlib/realloc.c')
| -rw-r--r-- | src/stdlib/realloc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/stdlib/realloc.c b/src/stdlib/realloc.c index 35e12d26..9bac9c5d 100644 --- a/src/stdlib/realloc.c +++ b/src/stdlib/realloc.c @@ -8,9 +8,11 @@ void * realloc(void * ptr, size_t size) { SIGNAL_SAFE(0); - return __jkmalloc(NULL, NULL, 0, ptr, 1, size, 0, NULL); + return __jkmalloc(ptr, 1, size, 0, NULL); } +CHECK_2(void *, NULL, realloc, void *, size_t) + /*** changes the amount of memory allocated to ARGUMENT(ptr) to ARGUMENT(size) bytes. |
