diff options
Diffstat (limited to 'libc/malloc/malloc.h')
-rw-r--r-- | libc/malloc/malloc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/malloc/malloc.h b/libc/malloc/malloc.h index 2c0ee35c4..d0aedc0cd 100644 --- a/libc/malloc/malloc.h +++ b/libc/malloc/malloc.h @@ -23,6 +23,7 @@ #include <features.h> #include <stddef.h> +#include <stdio.h> # define __malloc_ptr_t void * /* Used by GNU libc internals. */ @@ -144,6 +145,9 @@ extern size_t malloc_usable_size __MALLOC_P ((void *__ptr)); /* Prints brief summary statistics on stderr. */ extern void malloc_stats __MALLOC_P ((void)); +/* Output information about state of allocator to stream FP. */ +extern int malloc_info (int __options, FILE *__fp); + /* Record the state of all malloc variables in an opaque data structure. */ extern void *malloc_get_state __MALLOC_P ((void)); |