From: David Levine Date: Mon, 29 Apr 2013 00:32:44 +0000 (-0500) Subject: Removed some #includes of unistd.h and stdio.h because they're X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/f1c5e5fde4f706bb40af755572c0cad49ca81729 Removed some #includes of unistd.h and stdio.h because they're in h/nmh.h. --- 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 {