reverse dependency order of memalign and aligned_alloc
authorRich Felker <dalias@aerifal.cx>
Wed, 3 Jun 2020 23:11:23 +0000 (19:11 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 3 Jun 2020 23:11:23 +0000 (19:11 -0400)
commitd1e6fdd3674eff0e09554c7ddc431acb8925232f
tree0181f78dc2700d2028eb2e354030c648326506a6
parentde798308e8a06608bb5a184dc209002ae1e0a142
reverse dependency order of memalign and aligned_alloc

this change eliminates the internal __memalign function and makes the
memalign and posix_memalign functions completely independent of the
malloc implementation, written portably in terms of aligned_alloc.
src/malloc/malloc_impl.h
src/malloc/memalign.c
src/malloc/memalign_altname.c
src/malloc/posix_memalign.c