From: Todd C. Miller Date: Tue, 24 May 1994 16:02:23 +0000 (+0000) Subject: added for solaris & reorg'd the includes + minor prettying up X-Git-Tag: SUDO_1_3_1~264 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e5bfa37161fe85c3eb4a9dd4b27c9a18585749ee;p=sudo added for solaris & reorg'd the includes + minor prettying up / --- diff --git a/visudo.c b/visudo.c index 6e1f251c4..55e76d668 100644 --- a/visudo.c +++ b/visudo.c @@ -39,10 +39,6 @@ static char rcsid[] = "$Id$"; #include "config.h" -#include -#include -#include -#include #include #ifdef STDC_HEADERS #include @@ -52,6 +48,11 @@ static char rcsid[] = "$Id$"; #endif /* HAVE_UNISTD_H */ #include #include +#include +#include +#include +#include +#include #include "sudo.h" @@ -62,11 +63,16 @@ extern char *getenv(); extern FILE *yyin, *yyout; extern int errno, yylineno; +/* + * Globals + */ char buffer[BUFSIZ]; char *sudoers = _PATH_SUDO_SUDOERS; -int status = 0, err_line_no = 0; char *sudoers_tmp_file = _PATH_SUDO_STMP; -FILE *sudoers_tmp_fp=NULL, *sudoers_fp=NULL; +int status = 0, + err_line_no = 0; +FILE *sudoers_tmp_fp=NULL, + *sudoers_fp=NULL; RETSIGTYPE Exit() {