repo.or.cz
/
newlib-cygwin.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Cygwin: mmap: allow remapping part of an existing anonymous mapping
[newlib-cygwin.git]
/
newlib
/
libc
/
stdlib
/
mtrim.c
blob
bf927fa843b49f3b83960a5fe13bff5a91680f20
1
#ifndef MALLOC_PROVIDED
2
/* mtrim.c -- a wrapper for malloc_trim. */
3
4
#include <_ansi.h>
5
#include <reent.h>
6
#include <stdlib.h>
7
#include <malloc.h>
8
9
#ifndef _REENT_ONLY
10
11
int
12
malloc_trim
(
size_t
pad
)
13
{
14
return
_malloc_trim_r
(
_REENT
,
pad
);
15
}
16
17
#endif
18
#endif