Commit Diff
- Commit:
67f822ee222a3d9a131449ec1c80c275ca122e1b
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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 *);