aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-22 15:47:14 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-22 15:47:14 +0000
commit8c94b48db3b27f1d8440d39b543bf79f5f08b3a0 (patch)
tree05c1101e6aac2c06a2aaa4e86035cc9141b552a8 /include
parent0ee66714aef0a5cbc792d00df9638c9771ba1bb7 (diff)
backport the compatability fix to use attribute_malloc instaed of
__attribute__ ((malloc)) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@43484 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/threadstorage.h2
1 files changed, 1 insertions, 1 deletions
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;