HomeFreeBSD

Use correct function declaration for yyerror

Description

Use correct function declaration for yyerror

According to the POSIX standard at
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/yacc.html
yyerror should return int. Add unreachable since errx never returns.

Reviewed by: imp, kib
Differential Revision: https://reviews.freebsd.org/D45447

Details

Provenance
dg612_cam.ac.ukAuthored on Jun 3 2024, 5:30 PM
impCommitted on Jun 3 2024, 6:14 PM
Reviewer
imp
Differential Revision
D45447: Use correct function declaration for yyerror
Parents
rGe3537f9235ba: Revert "subr_pctrie: use ilog2(x) instead of fls(x)-1"
Branches
Unknown
Tags
Unknown