[svn-commits] russell: branch 1.2 r56729 - /branches/1.2/utils.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Sun Feb 25 17:34:32 MST 2007


Author: russell
Date: Sun Feb 25 18:34:31 2007
New Revision: 56729

URL: http://svn.digium.com/view/asterisk?view=rev&rev=56729
Log:
Ensure that lock.h is included in utils.c with AST_API_MODULE defined so that
the implementations will be properly included when the AST_INLINE_API functions
are not going to be inlined.  (issue #9124, festr)

Modified:
    branches/1.2/utils.c

Modified: branches/1.2/utils.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/utils.c?view=diff&rev=56729&r1=56728&r2=56729
==============================================================================
--- branches/1.2/utils.c (original)
+++ branches/1.2/utils.c Sun Feb 25 18:34:31 2007
@@ -39,7 +39,9 @@
 
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
+#define AST_API_MODULE
 #include "asterisk/lock.h"
+
 #include "asterisk/io.h"
 #include "asterisk/logger.h"
 #include "asterisk/md5.h"



More information about the svn-commits mailing list