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

Luigi Rizzo rizzo at icir.org
Thu Nov 29 11:44:26 CST 2007


On Thu, Nov 29, 2007 at 05:42:22PM -0000, SVN commits to the Asterisk project wrote:
> Author: tilghman
> Date: Thu Nov 29 11:42:21 2007
> New Revision: 90157
> 
> URL: http://svn.digium.com/view/asterisk?view=rev&rev=90157
> Log:
> Fix build of trunk
> 

"struct ast_channel;" is declared in asterisk.h which is a prerequisite
for every asterisk file - so if something is broken it is because
it is not including headers properly, and should be fixed there and not
in lock.h

cheers
luigi

>     trunk/include/asterisk/lock.h
> 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;
> 
> 
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
> 
> asterisk-commits mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-commits



More information about the asterisk-dev mailing list