aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-07-18 01:15:31 +0000
committerRoland McGrath <roland@gnu.org>2005-07-18 01:15:31 +0000
commit32c4e3d07b7307d9665af181f37f5fc409f57f74 (patch)
tree7d5e068b493049babe2b2bc46ee27f5f8ef8c2a3 /include
parent. (diff)
downloadglibc-32c4e3d07b7307d9665af181f37f5fc409f57f74.tar.xz
glibc-32c4e3d07b7307d9665af181f37f5fc409f57f74.zip
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 'include')
-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__;