summaryrefslogtreecommitdiff
path: root/src/malloc/malloc_impl.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2020-06-03 19:11:23 -0400
committerRich Felker <dalias@aerifal.cx>2020-06-03 19:11:23 -0400
commitd1e6fdd3674eff0e09554c7ddc431acb8925232f (patch)
tree0181f78dc2700d2028eb2e354030c648326506a6 /src/malloc/malloc_impl.h
parentde798308e8a06608bb5a184dc209002ae1e0a142 (diff)
downloadmusl-d1e6fdd3674eff0e09554c7ddc431acb8925232f.tar.gz
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.
Diffstat (limited to 'src/malloc/malloc_impl.h')
-rw-r--r--src/malloc/malloc_impl.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/malloc/malloc_impl.h b/src/malloc/malloc_impl.h
index 2c61b3ff..6a92c1c6 100644
--- a/src/malloc/malloc_impl.h
+++ b/src/malloc/malloc_impl.h
@@ -6,8 +6,6 @@
hidden void *__expand_heap(size_t *);
-hidden void *__memalign(size_t, size_t);
-
struct chunk {
size_t psize, csize;
struct chunk *next, *prev;