]> granicus.if.org Git - sudo/commitdiff
sudoers_debug_instance is now included in libparsesudoers so we don't
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 23 Oct 2014 12:19:30 +0000 (06:19 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 23 Oct 2014 12:19:30 +0000 (06:19 -0600)
need to declare it here.

plugins/sudoers/testsudoers.c
plugins/sudoers/visudo.c

index b71117f5a3359768c83c9676bd2977d8f9c519ab..88d5055b5f0c179ff11a0cfb258e2df6bc3a6ddd 100644 (file)
@@ -101,7 +101,6 @@ extern int (*trace_print)(const char *msg);
  */
 struct sudo_user sudo_user;
 struct passwd *list_pw;
-int sudoers_debug_instance = SUDO_DEBUG_INSTANCE_INITIALIZER;
 static char *runas_group, *runas_user;
 
 #if defined(SUDO_DEVEL) && defined(__OpenBSD__)
index e8bf8126468b74363a0d1918eb40af624d3f2c5b..ae2f02e2e90e8b0297aeb99d4ceba242d7a2035d 100644 (file)
@@ -124,7 +124,6 @@ extern void sudoersrestart(FILE *);
  */
 struct sudo_user sudo_user;
 struct passwd *list_pw;
-int sudoers_debug_instance = SUDO_DEBUG_INSTANCE_INITIALIZER;
 static struct sudoersfile_list sudoerslist = TAILQ_HEAD_INITIALIZER(sudoerslist);
 static struct rbtree *alias_freelist;
 static bool checkonly;