diff options
| author | Jakob Kaivo <jkk@ung.org> | 2024-05-29 16:07:14 -0400 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2024-05-29 16:07:14 -0400 |
| commit | 824f22a3684209b1e11c87f20e6ff17beb8e73a3 (patch) | |
| tree | 591521c80a1cc771da5dc37d5bdfee5b89a3bb73 /src/stdlib/aligned_alloc.c | |
| parent | c9ec058657f9f8b3fd39a16f1a9e993b4a1e982e (diff) | |
finish integrating jkmalloc and read-only variable support
Diffstat (limited to 'src/stdlib/aligned_alloc.c')
| -rw-r--r-- | src/stdlib/aligned_alloc.c | 4 |
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) */ |
