4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-19 04:49:25 +08:00
Yaakov Selkowitz 9087163804 ansification: remove _DEFUN
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2018-01-17 11:47:26 -06:00

19 lines
280 B
C

#ifndef MALLOC_PROVIDED
/* msize.c -- a wrapper for malloc_usable_size. */
#include <_ansi.h>
#include <reent.h>
#include <stdlib.h>
#include <malloc.h>
#ifndef _REENT_ONLY
size_t
malloc_usable_size (void *ptr)
{
return _malloc_usable_size_r (_REENT, ptr);
}
#endif
#endif