mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-19 04:49:25 +08:00
9087163804
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
19 lines
257 B
C
19 lines
257 B
C
#ifndef MALLOC_PROVIDED
|
|
/* mtrim.c -- a wrapper for malloc_trim. */
|
|
|
|
#include <_ansi.h>
|
|
#include <reent.h>
|
|
#include <stdlib.h>
|
|
#include <malloc.h>
|
|
|
|
#ifndef _REENT_ONLY
|
|
|
|
int
|
|
malloc_trim (size_t pad)
|
|
{
|
|
return _malloc_trim_r (_REENT, pad);
|
|
}
|
|
|
|
#endif
|
|
#endif
|