commit | 684e9aa9a004c4c3731cd1bbd86589b892f52d4e | [log] [tgz] |
---|---|---|
author | Gilles Espinasse <g.esp@free.fr> | Sat May 19 23:02:23 2012 +0200 |
committer | Dominik Brodowski <linux@dominikbrodowski.net> | Sat May 30 15:22:33 2015 +0200 |
tree | 4693960d7b2ec2392e56f69a34b32d87b69de4ed | |
parent | 468fb2ebb69f9c10c5055f3647bd54ad62d2b5f9 [diff] |
Fix yyerror warning y.tab.c: In function 'yyparse': y.tab.c:1633: warning: passing argument 1 of 'yyerror' discards qualifiers from pointer target type src/yacc_config.y:30: note: expected 'char *' but argument is of type 'const char *' Add const in yyerror declaration the way it is in bison doc. Should be fine as msg is not modified. Signed-off-by: Gilles Espinasse <g.esp@free.fr> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>