[asterisk-commits] russell: branch 1.4 r43484 - /branches/1.4/include/asterisk/threadstorage.h

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Sep 22 08:47:14 MST 2006


Author: russell
Date: Fri Sep 22 10:47:14 2006
New Revision: 43484

URL: http://svn.digium.com/view/asterisk?rev=43484&view=rev
Log:
backport the compatability fix to use attribute_malloc instaed of 
__attribute__ ((malloc))

Modified:
    branches/1.4/include/asterisk/threadstorage.h

Modified: branches/1.4/include/asterisk/threadstorage.h
URL: http://svn.digium.com/view/asterisk/branches/1.4/include/asterisk/threadstorage.h?rev=43484&r1=43483&r2=43484&view=diff
==============================================================================
--- branches/1.4/include/asterisk/threadstorage.h (original)
+++ branches/1.4/include/asterisk/threadstorage.h Fri Sep 22 10:47:14 2006
@@ -140,7 +140,7 @@
  *       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;
 



More information about the asterisk-commits mailing list