]> granicus.if.org Git - sudo/commitdiff
Make "verbose" static; fixes a namespace clash with pam_ssh_agent_auth
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 21 Sep 2011 16:35:14 +0000 (12:35 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 21 Sep 2011 16:35:14 +0000 (12:35 -0400)
(and it doesn't need to be extern these days).

--HG--
branch : 1.7

gram.c
gram.y

diff --git a/gram.c b/gram.c
index ed7e21ba0ef3cea17de4b6d254e0c633b1ee5b24..6a789c8bf414afb0b6ab0505b5d8bdc51e5c17ca 100644 (file)
--- 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 9a07ee74d7e12b7d496413e4a6f1cb89912d16d3..ed58fb54bc545bc9165e0bd2363d3965e0b265b9 100644 (file)
--- 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;