Skip to content
Snippets Groups Projects
Commit 40b3ce5c authored by Russell Bryant's avatar Russell Bryant
Browse files

suppress warnings when building with DEBUG_CHANNEL_LOCKS (issue #7330, casper)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33550 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 9aac1c00
Branches
Tags
No related merge requests found
......@@ -782,6 +782,8 @@ AST_INLINE_API(int ast_atomic_dec_and_test(volatile int *p),
#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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment