[svn-commits] trunk r33550 - /trunk/include/asterisk/lock.h
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Sun Jun 11 14:42:14 MST 2006
Author: russell
Date: Sun Jun 11 16:42:13 2006
New Revision: 33550
URL: http://svn.digium.com/view/asterisk?rev=33550&view=rev
Log:
suppress warnings when building with DEBUG_CHANNEL_LOCKS (issue #7330, casper)
Modified:
trunk/include/asterisk/lock.h
Modified: trunk/include/asterisk/lock.h
URL: http://svn.digium.com/view/asterisk/trunk/include/asterisk/lock.h?rev=33550&r1=33549&r2=33550&view=diff
==============================================================================
--- trunk/include/asterisk/lock.h (original)
+++ trunk/include/asterisk/lock.h Sun Jun 11 16:42:13 2006
@@ -782,6 +782,8 @@
#define ast_channel_trylock(x) ast_mutex_trylock(&x->lock)
#else
+struct ast_channel;
+
/*! \brief Lock AST channel (and print debugging output)
\note You need to enable DEBUG_CHANNEL_LOCKS for this function */
int ast_channel_lock(struct ast_channel *chan);
More information about the svn-commits
mailing list