diff options
author | Peter Foley <pefoley2@pefoley.com> | 2016-03-21 13:15:42 -0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2016-03-21 20:27:16 +0100 |
commit | 3ba2c39fb2a12cd7332ef16b1b3e3df994f7c6f5 (patch) | |
tree | 33987013a31f23640eb0c4b464347ea12d0dc36b /compile | |
parent | 6699e21ffb4f0beeeec6a5d26cfd5684c26ecb42 (diff) | |
download | newlib-3ba2c39fb2a12cd7332ef16b1b3e3df994f7c6f5.zip newlib-3ba2c39fb2a12cd7332ef16b1b3e3df994f7c6f5.tar.gz newlib-3ba2c39fb2a12cd7332ef16b1b3e3df994f7c6f5.tar.bz2 |
Add nonnull annotation to posix_memalign.
GCC 6.0+ asserts that the memptr argument to the builtin function
posix_memalign is nonnull.
Add the necessary annotation to the prototype and
remove the now unnecessary check to fix a warning.
newlib/Changelog
newlib/libc/include/stdlib.h: Annotate arg to posix_memalign as
non-null.
winsup/cygwin/ChangeLog
malloc_wrapper.cc (posix_memalign): Remove always true nonnull check.
Signed-off-by: Peter Foley <pefoley2@pefoley.com>
Diffstat (limited to 'compile')
0 files changed, 0 insertions, 0 deletions