summaryrefslogtreecommitdiff
path: root/include/stdlib.h
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 /include/stdlib.h
parent8215c9ecf27714c7ec607aba0085383ef923777a (diff)
downloadglibc-5bcbe69fa82c5aed392836b843a33854f6eb0a0d.tar.gz
* include/stdlib.h: Remove malloc attribute from __posix_memalign.
* stdlib/stdlib.h: Likewise.
Diffstat (limited to 'include/stdlib.h')
-rw-r--r--include/stdlib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index 7723bf6856..49e87576f3 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__;