source: trunk/libs/newlib/src/newlib/libc/stdlib/malign.c @ 471

Last change on this file since 471 was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 282 bytes
Line 
1#ifndef MALLOC_PROVIDED
2/* malign.c -- a wrapper for memalign_r.  */
3
4#include <_ansi.h>
5#include <reent.h>
6#include <stdlib.h>
7#include <malloc.h>
8
9#ifndef _REENT_ONLY
10
11void *
12memalign (size_t align,
13        size_t nbytes)
14{
15  return _memalign_r (_REENT, align, nbytes);
16}
17
18#endif
19#endif
Note: See TracBrowser for help on using the repository browser.