refactor adjtime function using adjtimex function instead of syscall
[musl] / src / internal / malloc_impl.h
index 4355d84..59785a7 100644 (file)
@@ -1,12 +1,13 @@
 #ifndef MALLOC_IMPL_H
 #define MALLOC_IMPL_H
 
-#include "libc.h"
+#include <sys/mman.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);
+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;