This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Hi, RTEMS supports posix_memalign and there would need posix_memalign in newlib's stdlib.h. The patch below is what RTEMS currently uses in its newlib-patches. Ralf
2009-09-22 Ralf CorsÃpius <ralf.corsepius@rtems.org> * libc/include/stdlib.h: Add posix_memalign. diff -u -r1.35 stdlib.h --- libc/include/stdlib.h 3 Jul 2009 12:03:25 -0000 1.35 +++ libc/include/stdlib.h 22 Sep 2009 02:57:50 -0000 @@ -189,6 +189,10 @@ int _EXFUN(_unsetenv_r,(struct _reent *, const char *__string)); #endif +#ifdef __rtems__ +int _EXFUN(posix_memalign,(void **, size_t, size_t)); +#endif + #endif /* ! __STRICT_ANSI__ */ char * _EXFUN(_dtoa_r,(struct _reent *, double, int, int, int *, int*, char**));
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |