Commit Diff
- Commit:
c3841c6767f0a2860420de1163b6cf41923cd29f
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
- Message:
- 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@
- Actions:
- Patch | Tree
--- 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 {