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. --- include/stdlib.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/stdlib.h') diff --git a/include/stdlib.h b/include/stdlib.h index 7723bf6..49e8757 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -95,8 +95,8 @@ extern int __cxa_atexit_internal (void (*func) (void *), void *arg, void *d) extern void __cxa_finalize (void *d); -extern int __posix_memalign (void **memptr, size_t alignment, size_t size) - __attribute_malloc__; +extern int __posix_memalign (void **memptr, size_t alignment, size_t size); + extern void *__libc_memalign (size_t alignment, size_t size) __attribute_malloc__; -- cgit v1.1