summaryrefslogtreecommitdiff
path: root/src/stdlib/malloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdlib/malloc.c')
-rw-r--r--src/stdlib/malloc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/stdlib/malloc.c b/src/stdlib/malloc.c
index ebac8d39..b32f719a 100644
--- a/src/stdlib/malloc.c
+++ b/src/stdlib/malloc.c
@@ -7,9 +7,11 @@ void * malloc(size_t size)
{
SIGNAL_SAFE(0);
- return __jkmalloc(NULL, NULL, 0, NULL, 1, size, 0, NULL);
+ return __jkmalloc(NULL, 1, size, 0, NULL);
}
+CHECK_1(void *, NULL, malloc, size_t)
+
/***
allocates ARGUMENT(size) bytes of memory.
***/