From: Todd C. Miller Date: Wed, 21 Sep 2011 16:35:14 +0000 (-0400) Subject: Make "verbose" static; fixes a namespace clash with pam_ssh_agent_auth X-Git-Tag: SUDO_1_7_8~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4ad11e3b744a040e52548c57033e3bf44b46da65;p=sudo Make "verbose" static; fixes a namespace clash with pam_ssh_agent_auth (and it doesn't need to be extern these days). --HG-- branch : 1.7 --- diff --git a/gram.c b/gram.c index ed7e21ba0..6a789c8bf 100644 --- a/gram.c +++ b/gram.c @@ -82,9 +82,9 @@ */ extern int sudolineno; extern char *sudoers; -int parse_error; +static int verbose = FALSE; +int parse_error = FALSE; int pedantic = FALSE; -int verbose = FALSE; int errorlineno = -1; char *errorfile = NULL; diff --git a/gram.y b/gram.y index 9a07ee74d..ed58fb54b 100644 --- a/gram.y +++ b/gram.y @@ -70,9 +70,9 @@ */ extern int sudolineno; extern char *sudoers; -int parse_error; +static int verbose = FALSE; +int parse_error = FALSE; int pedantic = FALSE; -int verbose = FALSE; int errorlineno = -1; char *errorfile = NULL;