diff options
Diffstat (limited to 'newlib/libc/stdlib/mstats.c')
-rw-r--r-- | newlib/libc/stdlib/mstats.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/newlib/libc/stdlib/mstats.c b/newlib/libc/stdlib/mstats.c index a2ae95929..8a587b0b5 100644 --- a/newlib/libc/stdlib/mstats.c +++ b/newlib/libc/stdlib/mstats.c @@ -110,6 +110,7 @@ _DEFUN_VOID (mallinfo) return _mallinfo_r (_REENT); } +#ifndef _ELIX_LEVEL || _ELIX_LEVEL >= 2 void _DEFUN_VOID (malloc_stats) { @@ -124,8 +125,12 @@ _DEFUN (mallopt, (p, v), return _mallopt_r (_REENT, p, v); } +#endif /* !_ELIX_LEVEL || _ELIX_LEVEL >= 2 */ + #endif +#ifndef _ELIX_LEVEL || _ELIX_LEVEL >= 2 + /* mstats is now compatibility code. It used to be real, for a previous version of the malloc routines. It now just calls malloc_stats. */ @@ -149,4 +154,7 @@ _DEFUN (mstats, (s), } #endif + +#endif /* !_ELIX_LEVEL || _ELIX_LEVEL >= 2 */ + #endif /* ! defined (MALLOC_PROVIDED) */ |