summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-12-06 18:03:01 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-12-09 07:50:59 +0100
commitb6af57f98021bc3b1b8183cfb501a5c45293cdd7 (patch)
tree5ff406adfeb401d6a40b535bd12297c888273806 /include
parent75cb2a2b2501e022b94d16d3db2b0e9da1979388 (diff)
Make malloc_stats() GNU libc compatible
This fix commit 76dfc7ce8c "Some requested additional malloc entry points" from 2004's Signed-off-by: Leonid Lisovskiy <lly.dev@gmail.com> Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
Diffstat (limited to 'include')
-rw-r--r--include/malloc.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/malloc.h b/include/malloc.h
index a289c9317..b16a1105a 100644
--- a/include/malloc.h
+++ b/include/malloc.h
@@ -159,9 +159,8 @@ extern int malloc_trim(size_t pad);
# endif /* __USE_GNU */
#include <stdio.h>
-/* Prints brief summary statistics to the specified file.
- * Writes to stderr if file is NULL. */
-extern void malloc_stats(FILE *file);
+/* Prints brief summary statistics on the stderr. */
+extern void malloc_stats(void);
/* SVID2/XPG mallopt options */
#ifndef M_MXFAST