From: Todd C. Miller Date: Wed, 21 Sep 2011 14:15:13 +0000 (-0400) Subject: Make "verbose" static; fixes a namespace clash with pam_ssh_agent_auth X-Git-Tag: SUDO_1_8_3~30^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=de33689ae63d7e3ca13cd74489b67e4de9f20c10;p=sudo Make "verbose" static; fixes a namespace clash with pam_ssh_agent_auth (and it doesn't need to be extern these days). --- diff --git a/plugins/sudoers/gram.c b/plugins/sudoers/gram.c index 51cf5882d..8c0a73d62 100644 --- a/plugins/sudoers/gram.c +++ b/plugins/sudoers/gram.c @@ -83,9 +83,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/plugins/sudoers/gram.y b/plugins/sudoers/gram.y index 0ec084e6b..f3f0aace3 100644 --- a/plugins/sudoers/gram.y +++ b/plugins/sudoers/gram.y @@ -71,9 +71,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;