]> 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 14:15:13 +0000 (10:15 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 21 Sep 2011 14:15:13 +0000 (10:15 -0400)
(and it doesn't need to be extern these days).

plugins/sudoers/gram.c
plugins/sudoers/gram.y

index 51cf5882dda0c98815eb02f92d080cdd8e50d872..8c0a73d62676d3fd115a5f25856125e997179155 100644 (file)
@@ -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;
 
index 0ec084e6b9c3266c92536f9db1db1702122882ac..f3f0aace351b2ab4c4d253ca30c08a58e0cb8a0b 100644 (file)
@@ -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;