Fix yyerror warning In function 'yyparse': 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 <>
Signed-off-by: Dominik Brodowski <>
1 file changed
tree: 4693960d7b2ec2392e56f69a34b32d87b69de4ed
  1. .gitignore
  3. Makefile
  4. config/
  5. debug/
  6. doc/
  7. hotplug/
  8. man/
  9. src/
  10. udev/