From: Luigi Rizzo Date: Fri, 22 Sep 2006 14:58:24 +0000 (+0000) Subject: compatibility fix: X-Git-Tag: 1.6.0-beta1~3^2~4669 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2946b43e3102041c2a8244c3c57e3c30379c5c2f;p=thirdparty%2Fasterisk.git compatibility fix: use "attribute_XXX" instead of *__attribute__ ((XXX)) so we can handle compiler/os dependencies in our compiler.h git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43480 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/include/asterisk/threadstorage.h b/include/asterisk/threadstorage.h index 6e141a5d2d..14c6d65b94 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;