[asterisk-dev] murf: trunk r84330 - /trunk/utils/check_expr.c

Tony Mountifield tony at softins.clara.co.uk
Tue Oct 2 03:02:31 CDT 2007


In article <20071001232651.3CC87A9DF61 at lists.digium.internal>,
SVN commits to the Digium repositories <svn-commits at lists.digium.com> wrote:
> Author: murf
> Date: Mon Oct  1 18:26:50 2007
> New Revision: 84330
> 
> URL: http://svn.digium.com/view/asterisk?view=rev&rev=84330
> Log:
> picky gcc versions... sigh.
> 
> Modified:
>     trunk/utils/check_expr.c
> 
> Modified: trunk/utils/check_expr.c
> URL:
> http://svn.digium.com/view/asterisk/trunk/utils/check_expr.c?view=diff&rev=84330&r1=84329&r2=84330
> ==============================================================================
> --- trunk/utils/check_expr.c (original)
> +++ trunk/utils/check_expr.c Mon Oct  1 18:26:50 2007
> @@ -89,16 +89,20 @@
>  }
>  
>  void ast_store_lock_info(enum ast_lock_type type, const char *filename,
> +		        int line_num, const char *func, const char *lock_name, void *lock_addr);
> +void ast_store_lock_info(enum ast_lock_type type, const char *filename,
>  		        int line_num, const char *func, const char *lock_name, void *lock_addr)
>  {
>      /* not a lot to do in a standalone w/o threading! */
>  }
>  
> +void ast_mark_lock_acquired(void);
>  void ast_mark_lock_acquired(void)
>  {
>      /* not a lot to do in a standalone w/o threading! */
>  }

That looks bizarre. What on earth is the compiler complaining about that
requires that kind of construct to shut it up?

Cheers
Tony
-- 
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org



More information about the asterisk-dev mailing list