18 lines
242 B
C
18 lines
242 B
C
/* 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
|