From 5bcbe69fa82c5aed392836b843a33854f6eb0a0d Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Fri, 15 Jul 2005 10:47:20 +0000 Subject: * include/stdlib.h: Remove malloc attribute from __posix_memalign. * stdlib/stdlib.h: Likewise. --- stdlib/stdlib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stdlib') diff --git a/stdlib/stdlib.h b/stdlib/stdlib.h index 9e75e71..bff7722 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 -- cgit v1.1