Commit Diff
- Commit:
fc89c9001a9df4312083343d1cabb3a8ad055af5
- From:
- Omar Polo <op@omarpolo.com>
- Date:
- Message:
- add conf_limit_user_connection prototype at the top of parse.y different yacc implementations (e.g. GNU bison) may put the various parts in a different order, and so the definition of the function may not be visible in the generated code.
- Actions:
- Patch | Tree
--- gotd/parse.y +++ gotd/parse.y @@ -87,6 +87,7 @@ static int errors; static struct gotd *gotd; static struct gotd_repo *new_repo; +static int conf_limit_user_connections(const char *, int); static struct gotd_repo *conf_new_repo(const char *); static void conf_new_access_rule(struct gotd_repo *, enum gotd_access, int, char *);