Cygwin: mmap: allow remapping part of an existing anonymous mapping
[newlib-cygwin.git] / newlib / libc / stdlib / mtrim.c
blobbf927fa843b49f3b83960a5fe13bff5a91680f20
1 #ifndef MALLOC_PROVIDED
2 /* mtrim.c -- a wrapper for malloc_trim. */
4 #include <_ansi.h>
5 #include <reent.h>
6 #include <stdlib.h>
7 #include <malloc.h>
9 #ifndef _REENT_ONLY
11 int
12 malloc_trim (size_t pad)
14 return _malloc_trim_r (_REENT, pad);
17 #endif
18 #endif