OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.17.0/] [newlib/] [libc/] [stdlib/] [mtrim.c] - Diff between revs 148 and 158

Only display areas with differences | Details | Blame | View Log

Rev 148 Rev 158
#ifndef MALLOC_PROVIDED
#ifndef MALLOC_PROVIDED
/* 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
#endif
#endif
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.