mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-16 03:19:54 +08:00
e91ec2e3e6
* libc/stdlib/mlock.c: Ditto. * libc/stdlib/msize.c: Ditto. * libc/stdlib/msize.c: Ditto. * libc/stdlib/mtrim.c: Ditto. * libc/stdlib/valloc.c: Ditto.
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
|