OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib/] [newlib/] [libc/] [stdlib/] [msize.c] - Diff between revs 40 and 1765

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

Rev 40 Rev 1765
/* msize.c -- a wrapper for malloc_usable_size.  */
/* msize.c -- a wrapper for malloc_usable_size.  */
 
 
#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
 
 
size_t
size_t
_DEFUN (malloc_usable_size, (ptr),
_DEFUN (malloc_usable_size, (ptr),
        _PTR ptr)
        _PTR ptr)
{
{
  return _malloc_usable_size_r (_REENT, ptr);
  return _malloc_usable_size_r (_REENT, ptr);
}
}
 
 
#endif
#endif
 
 

powered by: WebSVN 2.1.0

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