]> sourceware.org Git - newlib-cygwin.git/commitdiff
C11 aligned_alloc() support for <stdlib.h>
authorSebastian Huber <sebastian.huber@embedded-brains.de>
Wed, 14 Oct 2015 05:39:36 +0000 (07:39 +0200)
committerCorinna Vinschen <corinna@vinschen.de>
Thu, 22 Oct 2015 15:30:12 +0000 (17:30 +0200)
newlib/ChangeLog
2015-10-14  Sebastian Huber  <sebastian.huber@embedded-brains.de>

* libc/include/stdlib.h (alloc_aligned): Declare.

newlib/ChangeLog
newlib/libc/include/stdlib.h

index 9e78fea33657ee3c72c92ed982db7be1df3b49af..d0d357e43c1f8353460a7b5fd0423a8996df7469 100644 (file)
@@ -1,3 +1,7 @@
+2015-10-14  Sebastian Huber  <sebastian.huber@embedded-brains.de>
+
+       * libc/include/stdlib.h (alloc_aligned): Declare.
+
 2015-10-14  Sebastian Huber  <sebastian.huber@embedded-brains.de>
 
        * libc/include/stdlib.h (at_quick_exit): Declare.
index 859c8449406cfd7b71efa524f64c4a0538012b7e..51a6f0afb365d587a5d0d5a9b8f5cc430d79a530 100644 (file)
@@ -284,6 +284,8 @@ extern long double strtold (const char *__restrict, char **__restrict);
  * If we're in a mode greater than C99, expose C11 functions.
  */
 #if __ISO_C_VISIBLE >= 2011 || __cplusplus >= 201103L
+void * aligned_alloc(size_t, size_t) __malloc_like __alloc_align(1)
+           __alloc_size(2);
 int    at_quick_exit(void (*)(void));
 _Noreturn void
        quick_exit(int);
This page took 0.053206 seconds and 5 git commands to generate.