diff --git a/plugins/sudoers/testsudoers.c b/plugins/sudoers/testsudoers.c index c66298e10..f7e9f2cba 100644 --- a/plugins/sudoers/testsudoers.c +++ b/plugins/sudoers/testsudoers.c @@ -81,6 +81,7 @@ void print_userspecs(void); void usage(void) __attribute__((__noreturn__)); void set_runasgr(char *); void set_runaspw(char *); +void cleanup(int); static int testsudoers_printf(int msg_type, const char *fmt, ...); extern void setgrfile(const char *); diff --git a/plugins/sudoers/visudo.c b/plugins/sudoers/visudo.c index 0262e9cee..cf97ef6ff 100644 --- a/plugins/sudoers/visudo.c +++ b/plugins/sudoers/visudo.c @@ -113,6 +113,8 @@ static void print_undefined(char *name, int, int, int); static void setup_signals(void); static void usage(void) __attribute__((__noreturn__)); +void cleanup(int); + extern void yyerror(const char *); extern void yyrestart(FILE *);