fix support for initialized TLS in static PIE binaries
[musl.git] / include / malloc.h
blob35f8b19c2c340d510c7aeaf4a5401b54acbc1d0b
1 #ifndef _MALLOC_H
2 #define _MALLOC_H
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
8 #define __NEED_size_t
10 #include <bits/alltypes.h>
12 void *malloc (size_t);
13 void *calloc (size_t, size_t);
14 void *realloc (void *, size_t);
15 void free (void *);
16 void *valloc (size_t);
17 void *memalign(size_t, size_t);
19 size_t malloc_usable_size(void *);
21 #ifdef __cplusplus
23 #endif
25 #endif