[asterisk-dev] [asterisk-commits] tilghman: trunk r90157 - /trunk/include/asterisk/lock.h

Kevin P. Fleming kpfleming at digium.com
Thu Nov 29 11:46:07 CST 2007


SVN commits to the Asterisk project wrote:

> Modified: trunk/include/asterisk/lock.h
> URL: http://svn.digium.com/view/asterisk/trunk/include/asterisk/lock.h?view=diff&rev=90157&r1=90156&r2=90157
> ==============================================================================
> --- trunk/include/asterisk/lock.h (original)
> +++ trunk/include/asterisk/lock.h Thu Nov 29 11:42:21 2007
> @@ -113,6 +113,8 @@
>                               { PTHREAD_MUTEX_INIT_VALUE, 0, { NULL }, { 0 }, 0, { NULL }, { 0 }, PTHREAD_MUTEX_INIT_VALUE }
>  
>  #define AST_MAX_REENTRANCY 10
> +
> +struct ast_channel;
>  
>  struct ast_mutex_info {
>  	pthread_mutex_t mutex;

This should not be necessary, as this forward declaration already
appears in asterisk.h. Is there a module that includes lock.h but not
asterisk.h?

-- 
Kevin P. Fleming
Director of Software Technologies
Digium, Inc. - "The Genuine Asterisk Experience" (TM)



More information about the asterisk-dev mailing list