[svn-commits] russell: trunk r80262 - /trunk/utils/check_expr.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Aug 22 11:27:39 CDT 2007


Author: russell
Date: Wed Aug 22 11:27:39 2007
New Revision: 80262

URL: http://svn.digium.com/view/asterisk?view=rev&rev=80262
Log:
Ensure that the object code for ast_atomic_fetchadd_int() gets included in the
check_expr binary when building with LOW_MEMORY defined.
(reported by Brian Capouch on the asterisk-dev list, patch by me)

Modified:
    trunk/utils/check_expr.c

Modified: trunk/utils/check_expr.c
URL: http://svn.digium.com/view/asterisk/trunk/utils/check_expr.c?view=diff&rev=80262&r1=80261&r2=80262
==============================================================================
--- trunk/utils/check_expr.c (original)
+++ trunk/utils/check_expr.c Wed Aug 22 11:27:39 2007
@@ -29,8 +29,13 @@
 
 #include <../include/asterisk/compat.h>
 #include <../include/asterisk/ast_expr.h>
+
 #define AST_API_MODULE 1
 #include "asterisk/inline_api.h"
+
+#define AST_API_MODULE 1
+#include "asterisk/lock.h"
+
 #include "asterisk/strings.h"
 
 /* I included this from utils.c, so as not to have everything in that .c




More information about the svn-commits mailing list