diff options
author | Rich Felker <dalias@aerifal.cx> | 2020-06-02 21:38:25 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2020-06-02 21:38:25 -0400 |
commit | cee88b76f72c826cc3d3360b853a3cf2ec472fd2 (patch) | |
tree | a0003631fe3446d25bc4e8656d33621dbfce268d /src/internal/malloc_impl.h | |
parent | 28be61227c5a84e39ccb63d4021456785b89ce1b (diff) | |
download | musl-cee88b76f72c826cc3d3360b853a3cf2ec472fd2.tar.gz musl-cee88b76f72c826cc3d3360b853a3cf2ec472fd2.tar.bz2 musl-cee88b76f72c826cc3d3360b853a3cf2ec472fd2.tar.xz musl-cee88b76f72c826cc3d3360b853a3cf2ec472fd2.zip |
move declaration of interfaces between malloc and ldso to dynlink.h
this eliminates consumers of malloc_impl.h outside of the malloc
implementation.
Diffstat (limited to 'src/internal/malloc_impl.h')
-rw-r--r-- | src/internal/malloc_impl.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/internal/malloc_impl.h b/src/internal/malloc_impl.h index 59785a7f..2c61b3ff 100644 --- a/src/internal/malloc_impl.h +++ b/src/internal/malloc_impl.h @@ -2,11 +2,10 @@ #define MALLOC_IMPL_H #include <sys/mman.h> +#include "dynlink.h" hidden void *__expand_heap(size_t *); -hidden void __malloc_donate(char *, char *); - hidden void *__memalign(size_t, size_t); struct chunk { @@ -41,6 +40,4 @@ struct bin { hidden void __bin_chunk(struct chunk *); -hidden extern int __malloc_replaced; - #endif |