URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 39 |
Rev 40 |
/* mtrim.c -- a wrapper for malloc_trim. */
|
/* mtrim.c -- a wrapper for malloc_trim. */
|
|
|
#include <_ansi.h>
|
#include <_ansi.h>
|
#include <reent.h>
|
#include <reent.h>
|
#include <stdlib.h>
|
#include <stdlib.h>
|
#include <malloc.h>
|
#include <malloc.h>
|
|
|
#ifndef _REENT_ONLY
|
#ifndef _REENT_ONLY
|
|
|
int
|
int
|
_DEFUN (malloc_trim, (pad),
|
_DEFUN (malloc_trim, (pad),
|
size_t pad)
|
size_t pad)
|
{
|
{
|
return _malloc_trim_r (_REENT, pad);
|
return _malloc_trim_r (_REENT, pad);
|
}
|
}
|
|
|
#endif
|
#endif
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.