=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/doas/parse.y,v retrieving revision 1.21 retrieving revision 1.22 diff -c -r1.21 -r1.22 *** src/usr.bin/doas/parse.y 2016/09/04 15:11:13 1.21 --- src/usr.bin/doas/parse.y 2016/09/15 00:58:23 1.22 *************** *** 1,4 **** ! /* $OpenBSD: parse.y,v 1.21 2016/09/04 15:11:13 tedu Exp $ */ /* * Copyright (c) 2015 Ted Unangst * --- 1,4 ---- ! /* $OpenBSD: parse.y,v 1.22 2016/09/15 00:58:23 deraadt Exp $ */ /* * Copyright (c) 2015 Ted Unangst * *************** *** 46,58 **** FILE *yyfp; struct rule **rules; ! int nrules, maxrules; int parse_errors = 0; ! int obsolete_warned = 0; ! void yyerror(const char *, ...); ! int yylex(void); ! int yyparse(void); %} --- 46,59 ---- FILE *yyfp; struct rule **rules; ! int nrules; ! static int maxrules; ! int parse_errors = 0; ! static int obsolete_warned = 0; ! static void yyerror(const char *, ...); ! static int yylex(void); %} *************** *** 205,211 **** parse_errors++; } ! struct keyword { const char *word; int token; } keywords[] = { --- 206,212 ---- parse_errors++; } ! static struct keyword { const char *word; int token; } keywords[] = {