source:
trunk/libs/newlib/src/newlib/libc/stdlib/mtrim.c
Last change on this file was 444, checked in by , 6 years ago | |
---|---|
File size: 257 bytes |
Line | |
---|---|
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 |
Note: See TracBrowser
for help on using the repository browser.