diff options
author | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-22 14:58:24 +0000 |
---|---|---|
committer | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-22 14:58:24 +0000 |
commit | a6d427d4abe3659c1096edcf00b7e0b3a204e06a (patch) | |
tree | 3ace12cd61bb3c4cca55d13902c48b08fc517f78 /include/asterisk/threadstorage.h | |
parent | 94223d082ba7606c43eea65bf82bd1891a514b0a (diff) |
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
Diffstat (limited to 'include/asterisk/threadstorage.h')
-rw-r--r-- | include/asterisk/threadstorage.h | 2 |
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; |