summaryrefslogtreecommitdiff
path: root/include/asterisk/lock.h
diff options
context:
space:
mode:
authorLuigi Rizzo <rizzo@icir.org>2007-11-19 19:36:32 +0000
committerLuigi Rizzo <rizzo@icir.org>2007-11-19 19:36:32 +0000
commitb693c30a6680dca743ea2a29de9eb2a91de4f992 (patch)
tree583d35d6037430538541fd788901c505ba9fe267 /include/asterisk/lock.h
parent9335ace850459f02e49ee1427f6b675d613b7403 (diff)
move the declaration of struct ast_channel ast_frame and ast_module
to compat.h so it is always available - hopefully this will let us reduce the number of inclusions of channel.h and frame.h git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89426 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/lock.h')
-rw-r--r--include/asterisk/lock.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/asterisk/lock.h b/include/asterisk/lock.h
index 16ce5bb67..055ec84c8 100644
--- a/include/asterisk/lock.h
+++ b/include/asterisk/lock.h
@@ -1185,8 +1185,6 @@ AST_INLINE_API(int ast_atomic_dec_and_test(volatile int *p),
#define ast_channel_trylock(x) ast_mutex_trylock(&x->lock_dont_use)
#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);