From 2f62b9ee0c086f72ded8abfe84c6d5ab86c49ab1 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 30 Dec 2012 13:07:07 -0500 Subject: sys/cdefs.h: export __attribute_alloc_size__ Since we want to use this in installed headers, move it to the installed sys/cdefs.h. This requires a slight tweaking of the name (add trailing underscores). Signed-off-by: Mike Frysinger --- include/sys/cdefs.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/sys') diff --git a/include/sys/cdefs.h b/include/sys/cdefs.h index 71baa1a2d2..524fe57a25 100644 --- a/include/sys/cdefs.h +++ b/include/sys/cdefs.h @@ -13,8 +13,6 @@ extern void __chk_fail (void) __attribute__ ((__noreturn__)); libc_hidden_proto (__chk_fail) rtld_hidden_proto (__chk_fail) - -# define __attribute_alloc_size(...) __attribute__ ((alloc_size (__VA_ARGS__))) #endif #endif -- cgit 1.4.1