From de33689ae63d7e3ca13cd74489b67e4de9f20c10 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Wed, 21 Sep 2011 10:15:13 -0400 Subject: [PATCH] Make "verbose" static; fixes a namespace clash with pam_ssh_agent_auth (and it doesn't need to be extern these days). --- plugins/sudoers/gram.c | 4 ++-- plugins/sudoers/gram.y | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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; -- 2.40.0