diff options
author | Roland McGrath <roland@gnu.org> | 2005-07-18 01:15:31 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2005-07-18 01:15:31 +0000 |
commit | 32c4e3d07b7307d9665af181f37f5fc409f57f74 (patch) | |
tree | 7d5e068b493049babe2b2bc46ee27f5f8ef8c2a3 /stdlib | |
parent | 3fc07fb2cf08f9f530a502bb70fb1d59bf1a18de (diff) |
2005-07-15 Andreas Jaeger <aj@suse.de>
[BZ #1079]
* include/stdlib.h: Remove malloc attribute from __posix_memalign.
* stdlib/stdlib.h: Likewise.
Diffstat (limited to 'stdlib')
-rw-r--r-- | stdlib/stdlib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/stdlib.h b/stdlib/stdlib.h index 1bda32262b..cb19fcb03d 100644 --- a/stdlib/stdlib.h +++ b/stdlib/stdlib.h @@ -614,7 +614,7 @@ extern void *valloc (size_t __size) __THROW __attribute_malloc__; #ifdef __USE_XOPEN2K /* Allocate memory of SIZE bytes with an alignment of ALIGNMENT. */ extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) - __THROW __attribute_malloc__ __nonnull ((1)); + __THROW __nonnull ((1)); #endif __BEGIN_NAMESPACE_STD |