Fix "make check" fallout from the sudo_conv changes in sudo_debug.
This commit is contained in:
@@ -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];
|
||||
|
||||
|
@@ -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);
|
||||
|
||||
|
@@ -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)
|
||||
{
|
||||
|
@@ -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 {
|
||||
|
Reference in New Issue
Block a user