aboutsummaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2009-09-22 21:49:20 +0000
committerJeff Johnston <jjohnstn@redhat.com>2009-09-22 21:49:20 +0000
commit2ad8d17a1671582523ee4ce0a5d84f6a95425c30 (patch)
tree4d9e133cadd8bbb5f05306bc47a6b7a9280e41c0 /newlib
parentbdb08ed44fb9bcf9439fc7566f2f1814d0ce77f5 (diff)
downloadnewlib-2ad8d17a1671582523ee4ce0a5d84f6a95425c30.zip
newlib-2ad8d17a1671582523ee4ce0a5d84f6a95425c30.tar.gz
newlib-2ad8d17a1671582523ee4ce0a5d84f6a95425c30.tar.bz2
2009-09-22 Ralf Corsépius <ralf.corsepius@rtems.org>
* libc/include/stdlib.h: Add posix_memalign.
Diffstat (limited to 'newlib')
-rw-r--r--newlib/ChangeLog4
-rw-r--r--newlib/libc/include/stdlib.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index adcd6fa..c3f4596 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,5 +1,9 @@
2009-09-22 Ralf Corsépius <ralf.corsepius@rtems.org>
+ * libc/include/stdlib.h: Add posix_memalign.
+
+2009-09-22 Ralf Corsépius <ralf.corsepius@rtems.org>
+
* configure.host (*-rtems*): Remove -DMISSING_SYSCALL_NAMES.
Add -DHAVE_BLKSIZE, -D_NO_WORDEXP -D_NO_POPEN.
diff --git a/newlib/libc/include/stdlib.h b/newlib/libc/include/stdlib.h
index 9dcd5e2..ed39546 100644
--- a/newlib/libc/include/stdlib.h
+++ b/newlib/libc/include/stdlib.h
@@ -189,6 +189,10 @@ int _EXFUN(unsetenv,(const char *__string));
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**));