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: 328eb715ea1d5fd4bd1d6de573d3df89d7a57c4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#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