Move sudo_conv into policy.c

This commit is contained in:
Todd C. Miller
2013-03-27 13:42:40 -04:00
parent c66cf7c87e
commit 13dbba174e
2 changed files with 1 additions and 1 deletions

View File

@@ -67,6 +67,7 @@ struct sudoers_exec_args {
static int sudo_version; static int sudo_version;
static const char *interfaces_string; static const char *interfaces_string;
sudo_conv_t sudo_conv;
extern __dso_public struct policy_plugin sudoers_policy; extern __dso_public struct policy_plugin sudoers_policy;

View File

@@ -106,7 +106,6 @@ extern char *errorfile;
#ifdef HAVE_BSD_AUTH_H #ifdef HAVE_BSD_AUTH_H
char *login_style; char *login_style;
#endif /* HAVE_BSD_AUTH_H */ #endif /* HAVE_BSD_AUTH_H */
sudo_conv_t sudo_conv;
int sudo_mode; int sudo_mode;
static char *prev_user; static char *prev_user;