mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2025-05-11 10:45:23 -04:00
limit more glibc cruft to that environment
This commit is contained in:
parent
ec8fb347ed
commit
1eed432b9a
2 changed files with 7 additions and 1 deletions
|
@ -63,15 +63,19 @@ void h_malloc_stats(void);
|
|||
#if defined(__GLIBC__) || defined(__ANDROID__)
|
||||
struct mallinfo h_mallinfo(void);
|
||||
#endif
|
||||
#ifdef __GLIBC__
|
||||
int h_malloc_info(int options, FILE *fp);
|
||||
#endif
|
||||
|
||||
// obsolete glibc extensions
|
||||
void *h_memalign(size_t alignment, size_t size);
|
||||
void *h_valloc(size_t size);
|
||||
void *h_pvalloc(size_t size);
|
||||
#ifdef __GLIBC__
|
||||
void h_cfree(void *ptr);
|
||||
void *h_malloc_get_state(void);
|
||||
int h_malloc_set_state(void *state);
|
||||
#endif
|
||||
|
||||
// Android extensions
|
||||
#ifdef __ANDROID__
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue