Welcome to mirror list, hosted at ThFree Co, Russian Federation.

mtrim.c « stdlib « libc « newlib - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: bf927fa843b49f3b83960a5fe13bff5a91680f20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#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
malloc_trim (size_t pad)
{
  return _malloc_trim_r (_REENT, pad);
}

#endif
#endif