mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
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
This commit is contained in:
@@ -140,7 +140,7 @@ struct ast_dynamic_str {
|
|||||||
* be free()'d after it is no longer needed.
|
* be free()'d after it is no longer needed.
|
||||||
*/
|
*/
|
||||||
AST_INLINE_API(
|
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;
|
struct ast_dynamic_str *buf;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user