commit 533abaaa4c6fa1e70dad2edc1ed7a94c07be94e0 from: Omar Polo date: Fri Nov 18 17:20:19 2022 UTC forward-declare conf_new_access_rule not all yacc implementations put the section in the same order: with OpenBSD' yacc it's fine, with GNU' bison it results in a warning about using an undeclared function conf_new_access_rule. extracted from -portable via thomas, ok stsp@ commit - 0deb960709e3e94b2b79beb88bafc443d6d117f1 commit + 533abaaa4c6fa1e70dad2edc1ed7a94c07be94e0 blob - 2bd91742070fd73d80ed7d3448adb42cd33a10c9 blob + 4fd5767663f9fecdb247c6ed37f3865d7bb9a480 --- gotd/parse.y +++ gotd/parse.y @@ -86,6 +86,8 @@ static int errors; static struct gotd *gotd; static struct gotd_repo *new_repo; static struct gotd_repo *conf_new_repo(const char *); +static void conf_new_access_rule(struct gotd_repo *, + enum gotd_access, int, char *); static enum gotd_procid gotd_proc_id; typedef struct {