X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Finternal%2Fmalloc_impl.h;h=59785a7fe137bbe0736bbcfc7f541761f73ca9d7;hb=2d72b58070bc43a727b580a46746e87215a60a33;hp=1ea0407c992a3731a7446a8f582ac42f8e25c636;hpb=23389b1988b061e8487c316893a8a8eb77770a2f;p=musl diff --git a/src/internal/malloc_impl.h b/src/internal/malloc_impl.h index 1ea0407c..59785a7f 100644 --- a/src/internal/malloc_impl.h +++ b/src/internal/malloc_impl.h @@ -1,10 +1,13 @@ #ifndef MALLOC_IMPL_H #define MALLOC_IMPL_H -void *__mmap(void *, size_t, int, int, int, off_t); -int __munmap(void *, size_t); -void *__mremap(void *, size_t, size_t, int, ...); -int __madvise(void *, size_t, int); +#include + +hidden void *__expand_heap(size_t *); + +hidden void __malloc_donate(char *, char *); + +hidden void *__memalign(size_t, size_t); struct chunk { size_t psize, csize; @@ -36,4 +39,8 @@ struct bin { #define IS_MMAPPED(c) !((c)->csize & (C_INUSE)) +hidden void __bin_chunk(struct chunk *); + +hidden extern int __malloc_replaced; + #endif