mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-30 19:53:46 +00:00
20 lines
273 B
C
20 lines
273 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
|
|
_DEFUN (malloc_trim, (pad),
|
|
size_t pad)
|
|
{
|
|
return _malloc_trim_r (_REENT, pad);
|
|
}
|
|
|
|
#endif
|
|
#endif
|