[asterisk-dev] [asterisk-commits] kpfleming: trunk r89481 - /trunk/channels/chan_usbradio.c

Luigi Rizzo rizzo at icir.org
Wed Nov 21 09:49:54 CST 2007


On Wed, Nov 21, 2007 at 03:45:56PM -0000, SVN commits to the Asterisk project wrote:
> Author: kpfleming
> Date: Wed Nov 21 09:45:56 2007
> New Revision: 89481
> 
> URL: http://svn.digium.com/view/asterisk?view=rev&rev=89481
> Log:
> get this to actually compile...

interesting... another client for my config parsing macros :)

cheers
luigi

> +++ trunk/channels/chan_usbradio.c Wed Nov 21 09:45:56 2007
> @@ -224,7 +224,7 @@
>   * Likely we will come up with a better way of doing config file parsing.
>   */
>  #define M_START(var, val) \
> -        char *__s = var; char *__val = val;
> +        const char *__s = var; const char *__val = val;
>  #define M_END(x)   x;
>  #define M_F(tag, f)			if (!strcasecmp((__s), tag)) { f; } else
>  #define M_BOOL(tag, dst)	M_F(tag, (dst) = ast_true(__val) )
> @@ -505,7 +505,7 @@
>  



More information about the asterisk-dev mailing list