diff options
Diffstat (limited to 'src/internal/malloc_impl.h')
-rw-r--r-- | src/internal/malloc_impl.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/internal/malloc_impl.h b/src/internal/malloc_impl.h index 5d025b06..4355d84c 100644 --- a/src/internal/malloc_impl.h +++ b/src/internal/malloc_impl.h @@ -1,6 +1,8 @@ #ifndef MALLOC_IMPL_H #define MALLOC_IMPL_H +#include "libc.h" + void *__mmap(void *, size_t, int, int, int, off_t); int __munmap(void *, size_t); void *__mremap(void *, size_t, size_t, int, ...); @@ -36,10 +38,8 @@ struct bin { #define IS_MMAPPED(c) !((c)->csize & (C_INUSE)) -__attribute__((__visibility__("hidden"))) -void __bin_chunk(struct chunk *); +hidden void __bin_chunk(struct chunk *); -__attribute__((__visibility__("hidden"))) -extern int __malloc_replaced; +hidden extern int __malloc_replaced; #endif |