According to the POSIX standard yyerror should return int.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
POSIX standard states that yyerror() function supplied to the parser should have the int return type.
So I believe that instead of this patch, two other places in usr.sbin/config should be patched, that do use void.
usr.sbin/config/config.y | ||
---|---|---|
307 | return (0); |