From a6d427d4abe3659c1096edcf00b7e0b3a204e06a Mon Sep 17 00:00:00 2001 From: rizzo Date: Fri, 22 Sep 2006 14:58:24 +0000 Subject: compatibility fix: use "attribute_XXX" instead of *__attribute__ ((XXX)) so we can handle compiler/os dependencies in our compiler.h git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43480 f38db490-d61c-443f-a65b-d21fe96a405b --- include/asterisk/threadstorage.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/asterisk/threadstorage.h') diff --git a/include/asterisk/threadstorage.h b/include/asterisk/threadstorage.h index 6e141a5d2..14c6d65b9 100644 --- a/include/asterisk/threadstorage.h +++ b/include/asterisk/threadstorage.h @@ -140,7 +140,7 @@ struct ast_dynamic_str { * be free()'d after it is no longer needed. */ AST_INLINE_API( -struct ast_dynamic_str *__attribute__ ((malloc)) ast_dynamic_str_create(size_t init_len), +struct ast_dynamic_str * attribute_malloc ast_dynamic_str_create(size_t init_len), { struct ast_dynamic_str *buf; -- cgit v1.2.3