Retro68/gcc/newlib/libc/stdlib/mtrim.c

20 lines
273 B
C
Raw Normal View History

#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
_DEFUN (malloc_trim, (pad),
size_t pad)
{
return _malloc_trim_r (_REENT, pad);
}
#endif
#endif