Get rid of some "deprecated conversion from string constant to
`char*'" warnings.

* examples/bddcalc/parser_.h (yyerror): Declare the format
as a "const char*".
* examples/bddcalc/parser.yxx (yyerror): Likewise.
This commit is contained in:
Alexandre Duret-Lutz 2010-01-22 11:13:46 +01:00
parent 919fc298ff
commit e828783f47
3 changed files with 12 additions and 3 deletions

View file

@ -247,7 +247,7 @@ int main(int ac, char **av)
}
void yyerror(char *fmt, ...)
void yyerror(const char *fmt, ...)
{
va_list argp;
va_start(argp,fmt);