about summary refs log tree commit diff
path: root/stdlib
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2005-07-15 10:47:20 +0000
committerAndreas Jaeger <aj@suse.de>2005-07-15 10:47:20 +0000
commit5bcbe69fa82c5aed392836b843a33854f6eb0a0d (patch)
tree388e9bbb40f125eaffd22202494e2943fb73d643 /stdlib
parent8215c9ecf27714c7ec607aba0085383ef923777a (diff)
downloadglibc-5bcbe69fa82c5aed392836b843a33854f6eb0a0d.tar.gz
glibc-5bcbe69fa82c5aed392836b843a33854f6eb0a0d.tar.xz
glibc-5bcbe69fa82c5aed392836b843a33854f6eb0a0d.zip
* include/stdlib.h: Remove malloc attribute from __posix_memalign.
* stdlib/stdlib.h: Likewise.
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/stdlib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/stdlib.h b/stdlib/stdlib.h
index 9e75e71ed6..bff7722e2c 100644
--- a/stdlib/stdlib.h
+++ b/stdlib/stdlib.h
@@ -618,7 +618,7 @@ extern void *valloc (size_t __size) __THROW __attribute_malloc__ __wur;
 #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)) __wur;
+     __THROW __nonnull ((1)) __wur;
 #endif
 
 __BEGIN_NAMESPACE_STD