Re: dtc: Make some functions local to parser

2008-03-04 Thread Scott Wood
On Tue, Mar 04, 2008 at 03:37:00PM +1100, David Gibson wrote: * The Bison documentation explicitly permits yyerror() to be a variadic function, so fold yyerror() and yyerrorf() into a single printf-style function. Then the bison documentation is not consistent with the bison implementation

Re: dtc: Make some functions local to parser

2008-03-04 Thread David Gibson
On Tue, Mar 04, 2008 at 01:18:44PM -0600, Scott Wood wrote: On Tue, Mar 04, 2008 at 03:37:00PM +1100, David Gibson wrote: * The Bison documentation explicitly permits yyerror() to be a variadic function, so fold yyerror() and yyerrorf() into a single printf-style function. Then the

dtc: Make some functions local to parser

2008-03-03 Thread David Gibson
* eval_literal() is defined and used only in the parser, so make it static. * The Bison documentation explicitly permits yyerror() to be a variadic function, so fold yyerror() and yyerrorf() into a single printf-style function. The combined function is defined and used only in the parse,