[asterisk-commits] murf: trunk r84329 - /trunk/utils/check_expr.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Oct 1 18:20:21 CDT 2007


Author: murf
Date: Mon Oct  1 18:20:20 2007
New Revision: 84329

URL: http://svn.digium.com/view/asterisk?view=rev&rev=84329
Log:
This mod will allow check_expr to compile in the presence of DEBUG_THREAD situations. At least, it does for me. And it's less expensive than several other approaches I tried.

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=84329&r1=84328&r2=84329
==============================================================================
--- trunk/utils/check_expr.c (original)
+++ trunk/utils/check_expr.c Mon Oct  1 18:20:20 2007
@@ -86,6 +86,22 @@
 	(*buf)->used = (res + offset > (*buf)->len) ? (*buf)->len : res + offset;
 
 	return res;
+}
+
+void ast_store_lock_info(enum ast_lock_type type, const char *filename,
+		        int line_num, const char *func, const char *lock_name, void *lock_addr)
+{
+    /* not a lot to do in a standalone w/o threading! */
+}
+
+void ast_mark_lock_acquired(void)
+{
+    /* not a lot to do in a standalone w/o threading! */
+}
+
+void ast_remove_lock_info(void *lock_addr)
+{
+    /* not a lot to do in a standalone w/o threading! */
 }
 
 static int global_lineno = 1;




More information about the asterisk-commits mailing list