[asterisk-commits] murf: branch murf/bug6002 r105556 - /team/murf/bug6002/utils/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Mar 3 08:29:42 CST 2008


Author: murf
Date: Mon Mar  3 08:29:40 2008
New Revision: 105556

URL: http://svn.digium.com/view/asterisk?view=rev&rev=105556
Log:
wrap those extra stubs in an ifdef for when you are not in DEBUG_THREADS mode

Modified:
    team/murf/bug6002/utils/ael_main.c
    team/murf/bug6002/utils/conf2ael.c

Modified: team/murf/bug6002/utils/ael_main.c
URL: http://svn.digium.com/view/asterisk/team/murf/bug6002/utils/ael_main.c?view=diff&rev=105556&r1=105555&r2=105556
==============================================================================
--- team/murf/bug6002/utils/ael_main.c (original)
+++ team/murf/bug6002/utils/ael_main.c Mon Mar  3 08:29:40 2008
@@ -599,6 +599,8 @@
 	return 0;
 }
 
+#ifdef DEBUG_THREADS
+
 void ast_mark_lock_acquired(void *lock_addr)
 {
 }
@@ -611,3 +613,5 @@
 	int line_num, const char *func, const char *lock_name, void *lock_addr)
 {
 }
+
+#endif

Modified: team/murf/bug6002/utils/conf2ael.c
URL: http://svn.digium.com/view/asterisk/team/murf/bug6002/utils/conf2ael.c?view=diff&rev=105556&r1=105555&r2=105556
==============================================================================
--- team/murf/bug6002/utils/conf2ael.c (original)
+++ team/murf/bug6002/utils/conf2ael.c Mon Mar  3 08:29:40 2008
@@ -697,6 +697,8 @@
 	return 0;
 }
 
+#ifdef DEBUG_THREADS
+
 void ast_mark_lock_acquired(void *lock_addr)
 {
 }
@@ -709,3 +711,5 @@
 	int line_num, const char *func, const char *lock_name, void *lock_addr)
 {
 }
+
+#endif




More information about the asterisk-commits mailing list