Last change
on this file since 444 was
444,
checked in by satin@…, 6 years ago
|
add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc
|
File size:
280 bytes
|
Line | |
---|
1 | #ifndef MALLOC_PROVIDED |
---|
2 | /* msize.c -- a wrapper for malloc_usable_size. */ |
---|
3 | |
---|
4 | #include <_ansi.h> |
---|
5 | #include <reent.h> |
---|
6 | #include <stdlib.h> |
---|
7 | #include <malloc.h> |
---|
8 | |
---|
9 | #ifndef _REENT_ONLY |
---|
10 | |
---|
11 | size_t |
---|
12 | malloc_usable_size (void *ptr) |
---|
13 | { |
---|
14 | return _malloc_usable_size_r (_REENT, ptr); |
---|
15 | } |
---|
16 | |
---|
17 | #endif |
---|
18 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.