From d1417176a35d27ffb8da0ffb1e33154163b6eeb2 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Tue, 21 Mar 2023 00:46:43 -0400 Subject: aligned_alloc: conform to C17 This patch adds the strict checking for power-of-two alignments in aligned_alloc(), and updates the manual accordingly. Reviewed-by: Carlos O'Donell --- malloc/tst-aligned-alloc-static.c | 1 + 1 file changed, 1 insertion(+) create mode 100644 malloc/tst-aligned-alloc-static.c (limited to 'malloc/tst-aligned-alloc-static.c') diff --git a/malloc/tst-aligned-alloc-static.c b/malloc/tst-aligned-alloc-static.c new file mode 100644 index 0000000..d504473 --- /dev/null +++ b/malloc/tst-aligned-alloc-static.c @@ -0,0 +1 @@ +#include "tst-aligned-alloc.c" -- cgit v1.1