about summary refs log tree commit diff
path: root/stdlib
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-12-29 16:49:53 -0500
committerMike Frysinger <vapier@gentoo.org>2013-02-18 17:19:00 -0500
commit4be9b544ea79d601b82bf9eb82549cc627584630 (patch)
tree3bf94f07be48c6458b4a4c29a072312a907dff55 /stdlib
parent2f62b9ee0c086f72ded8abfe84c6d5ab86c49ab1 (diff)
downloadglibc-4be9b544ea79d601b82bf9eb82549cc627584630.tar.gz
glibc-4be9b544ea79d601b82bf9eb82549cc627584630.tar.xz
glibc-4be9b544ea79d601b82bf9eb82549cc627584630.zip
stdlib.h: use existing malloc/alloc_size attribute defines
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
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 fa1175c028..f7a818aa65 100644
--- a/stdlib/stdlib.h
+++ b/stdlib/stdlib.h
@@ -507,7 +507,7 @@ extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size)
 #ifdef __USE_ISOC11
 /* ISO C variant of aligned allocation.  */
 extern void *aligned_alloc (size_t __alignment, size_t __size)
-     __THROW __wur __attribute__ ((__malloc__, __alloc_size__ (2)));
+     __THROW __attribute_malloc__ __attribute_alloc_size__ ((2)) __wur;
 #endif
 
 __BEGIN_NAMESPACE_STD