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