From 5bfb481ca7f540ee79da78e0218aabe741c6c4e0 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Thu, 15 Oct 1998 05:41:26 +0000 Subject: [PATCH] no more options.h --- check.c | 1 - find_path.c | 1 - getspwuid.c | 1 - goodpath.c | 1 - interfaces.c | 1 - logging.c | 1 - parse.c | 1 - parse.lex | 1 - parse.yacc | 1 - sudo.c | 1 - sudo.pod | 4 ---- sudo_setenv.c | 1 - visudo.c | 1 - 13 files changed, 16 deletions(-) diff --git a/check.c b/check.c index e033b10bb..3d5f46118 100644 --- a/check.c +++ b/check.c @@ -64,7 +64,6 @@ static char rcsid[] = "$Id$"; #include #include #include "sudo.h" -#include #include "insults.h" #include "version.h" #ifdef HAVE_GETPRPWUID diff --git a/find_path.c b/find_path.c index f79beba1f..5e125423a 100644 --- a/find_path.c +++ b/find_path.c @@ -56,7 +56,6 @@ static char rcsid[] = "$Id$"; #include #include #include "sudo.h" -#include #ifndef STDC_HEADERS #ifndef __GNUC__ /* gcc has its own malloc */ diff --git a/getspwuid.c b/getspwuid.c index d0be90663..01fc57aa1 100644 --- a/getspwuid.c +++ b/getspwuid.c @@ -51,7 +51,6 @@ static char rcsid[] = "$Id$"; #include #include #include "sudo.h" -#include /* Shadow password includes */ #ifdef HAVE_GETSPNAM diff --git a/goodpath.c b/goodpath.c index 2724390ba..6096ac1dc 100644 --- a/goodpath.c +++ b/goodpath.c @@ -51,7 +51,6 @@ static char rcsid[] = "$Id$"; #include #include "sudo.h" -#include #ifndef STDC_HEADERS extern int stat __P((const char *, struct stat *)); diff --git a/interfaces.c b/interfaces.c index e9bd35072..d09883d53 100644 --- a/interfaces.c +++ b/interfaces.c @@ -76,7 +76,6 @@ static char rcsid[] = "$Id$"; #include #include "sudo.h" -#include #include "version.h" #if !defined(STDC_HEADERS) && !defined(__GNUC__) diff --git a/logging.c b/logging.c index cfe0811ae..2e1c1509d 100644 --- a/logging.c +++ b/logging.c @@ -69,7 +69,6 @@ static char rcsid[] = "$Id$"; #include #include "sudo.h" -#include /* * Prototypes for local functions diff --git a/parse.c b/parse.c index b9ca87cf6..15e053bd6 100644 --- a/parse.c +++ b/parse.c @@ -83,7 +83,6 @@ static char rcsid[] = "$Id$"; #endif #include "sudo.h" -#include /* * Globals diff --git a/parse.lex b/parse.lex index 60afc085d..930bfa6e0 100644 --- a/parse.lex +++ b/parse.lex @@ -48,7 +48,6 @@ static char rcsid[] = "$Id$"; #include #include #include "sudo.h" -#include #include "sudo.tab.h" #undef yywrap /* guard against a yywrap macro */ diff --git a/parse.yacc b/parse.yacc index cb9be5e02..618a72a1e 100644 --- a/parse.yacc +++ b/parse.yacc @@ -55,7 +55,6 @@ static char rcsid[] = "$Id$"; #include #endif /* HAVE_LSEARCH */ -#include #include "sudo.h" #ifndef HAVE_LSEARCH diff --git a/sudo.c b/sudo.c index 7eb9e1324..6800d6994 100644 --- a/sudo.c +++ b/sudo.c @@ -90,7 +90,6 @@ static char rcsid[] = "$Id$"; #endif /* HAVE_DCE */ #include "sudo.h" -#include #include "version.h" #ifndef STDC_HEADERS diff --git a/sudo.pod b/sudo.pod index 547b2ad05..c62e41505 100644 --- a/sudo.pod +++ b/sudo.pod @@ -30,10 +30,6 @@ user to the local authorities (defined at installation time). B was designed to log via the 4.3 BSD syslog(3) facility but can log to a file instead if so desired (or to both syslog and a file). -All preferences are defined at installation time and are derived from -the options.h and pathnames.h include files as well as as well as the -Makefile. - =head1 OPTIONS B accepts the following command line options: diff --git a/sudo_setenv.c b/sudo_setenv.c index 31388d69a..d4a552507 100644 --- a/sudo_setenv.c +++ b/sudo_setenv.c @@ -46,7 +46,6 @@ static char rcsid[] = "$Id$"; #include #include "sudo.h" -#include #ifndef STDC_HEADERS #ifdef HAVE_PUTENV diff --git a/visudo.c b/visudo.c index 127b4ef4e..b2fe98424 100644 --- a/visudo.c +++ b/visudo.c @@ -59,7 +59,6 @@ static char rcsid[] = "$Id$"; #include #include "sudo.h" -#include #include "version.h" #ifndef STDC_HEADERS -- 2.40.0