Fix "make check" fallout from the sudo_conv changes in sudo_debug.

This commit is contained in:
Todd C. Miller
2011-12-02 11:35:22 -05:00
parent 21a2f95821
commit b58c1ff6ec
4 changed files with 14 additions and 0 deletions

View File

@@ -50,6 +50,7 @@
struct sudo_user sudo_user;
struct passwd *list_pw;
sudo_conv_t sudo_conv; /* NULL in non-plugin */
static char sessid[7];

View File

@@ -40,6 +40,9 @@
#include "missing.h"
#include "error.h"
#include "sudo_plugin.h"
sudo_conv_t sudo_conv; /* NULL in non-plugin */
extern void writeln_wrap(FILE *fp, char *line, size_t len, size_t maxlen);

View File

@@ -55,6 +55,8 @@ static int check_addr_printf(int msg_type, const char *fmt, ...);
struct interface *interfaces;
sudo_printf_t sudo_printf = check_addr_printf;
sudo_conv_t sudo_conv; /* NULL in non-plugin */
static int
check_addr(char *input)
{

View File

@@ -26,6 +26,11 @@
# include <stdlib.h>
# endif
#endif /* STDC_HEADERS */
#ifdef HAVE_STDBOOL_H
# include <stdbool.h>
#else
# include "compat/stdbool.h"
#endif /* HAVE_STDBOOL_H */
#ifdef HAVE_STRING_H
# include <string.h>
#endif /* HAVE_STRING_H */
@@ -40,12 +45,15 @@
#include "list.h"
#include "parse.h"
#include "toke.h"
#include "sudo_plugin.h"
#include <gram.h>
/*
* TODO: test realloc
*/
sudo_conv_t sudo_conv; /* NULL in non-plugin */
YYSTYPE yylval;
struct fill_test {