summaryrefslogtreecommitdiff
path: root/src/stdlib/aligned_alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdlib/aligned_alloc.c')
-rw-r--r--src/stdlib/aligned_alloc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/stdlib/aligned_alloc.c b/src/stdlib/aligned_alloc.c
index 6fa28e9f..89126b18 100644
--- a/src/stdlib/aligned_alloc.c
+++ b/src/stdlib/aligned_alloc.c
@@ -5,9 +5,11 @@
void *aligned_alloc(size_t alignment, size_t size)
{
SIGNAL_SAFE(0);
- return __jkmalloc(NULL, NULL, 0, NULL, alignment, size, 0, NULL);
+ return __jkmalloc(NULL, alignment, size, 0, NULL);
}
+CHECK_2(void *, NULL, aligned_alloc, size_t, size_t)
+
/*
STDC(201112)
*/