From eb89724010e174989520086e826974167920123a Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Fri, 22 Sep 2006 15:47:14 +0000 Subject: [PATCH] backport the compatability fix to use attribute_malloc instaed of __attribute__ ((malloc)) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43484 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- include/asterisk/threadstorage.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;