From f1c5e5fde4f706bb40af755572c0cad49ca81729 Mon Sep 17 00:00:00 2001 From: David Levine Date: Sun, 28 Apr 2013 19:32:44 -0500 Subject: [PATCH] Removed some #includes of unistd.h and stdio.h because they're in h/nmh.h. --- sbr/getpass.c | 4 +--- sbr/lock_file.c | 5 +---- sbr/message_id.c | 2 -- 3 files changed, 2 insertions(+), 9 deletions(-) diff --git a/sbr/getpass.c b/sbr/getpass.c index f3ae8291..95e9178c 100644 --- a/sbr/getpass.c +++ b/sbr/getpass.c @@ -31,10 +31,8 @@ * SUCH DAMAGE. */ -#include +#include #include -#include /* for isatty() */ -#include "h/mh.h" /* for adios() */ /* We don't use MAX_PASS here because the maximum password length on a remote POP daemon will have nothing to do with the length on our OS. 256 is diff --git a/sbr/lock_file.c b/sbr/lock_file.c index 80b93a90..0e83ac82 100644 --- a/sbr/lock_file.c +++ b/sbr/lock_file.c @@ -28,12 +28,9 @@ #ifdef HAVE_FLOCK # include #endif -#ifdef HAVE_LOCKF -# include -#endif #if defined(HAVE_LIBLOCKFILE) -#include +# include #endif #ifdef LOCKDIR diff --git a/sbr/message_id.c b/sbr/message_id.c index ce65ed9c..c20bc1c3 100644 --- a/sbr/message_id.c +++ b/sbr/message_id.c @@ -8,9 +8,7 @@ */ #include -#include /* for getpid() */ #include /* for gettimeofday() */ -#include static enum { -- 2.56.0