From 824f22a3684209b1e11c87f20e6ff17beb8e73a3 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Wed, 29 May 2024 16:07:14 -0400 Subject: finish integrating jkmalloc and read-only variable support --- src/stdlib/aligned_alloc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/stdlib/aligned_alloc.c') 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) */ -- cgit v1.2.1