diff options
Diffstat (limited to 'cpukit/libcsupport/src/malloc_report_statistics.c')
-rw-r--r-- | cpukit/libcsupport/src/malloc_report_statistics.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/cpukit/libcsupport/src/malloc_report_statistics.c b/cpukit/libcsupport/src/malloc_report_statistics.c new file mode 100644 index 0000000000..24f5505429 --- /dev/null +++ b/cpukit/libcsupport/src/malloc_report_statistics.c @@ -0,0 +1,26 @@ +/* + * malloc_report_statistics Implementation + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. + * + * $Id$ + */ + +#if HAVE_CONFIG_H +#include "config.h" +#endif + +#ifdef RTEMS_NEWLIB +#include "malloc_p.h" + +void malloc_report_statistics(void) +{ + malloc_report_statistics_with_plugin( NULL, printk_plugin ); +} + +#endif |