]> Pileus Git - ~andy/fetchmail/commitdiff
Remove some inclusions no longer needed.
authorEric S. Raymond <esr@thyrsus.com>
Tue, 17 Dec 1996 21:36:09 +0000 (21:36 -0000)
committerEric S. Raymond <esr@thyrsus.com>
Tue, 17 Dec 1996 21:36:09 +0000 (21:36 -0000)
svn path=/trunk/; revision=653

driver.c
imap.c
pop2.c
pop3.c
smtp.c

index 7914ccd5c6212199745f26f764b4a9973b362e42..77344f158bcf55a966a79b85ab234646c73d252c 100644 (file)
--- a/driver.c
+++ b/driver.c
@@ -37,7 +37,7 @@
 #ifdef KERBEROS_V4
 #include <krb.h>
 #include <des.h>
-#include <netinet/in.h>                /* must be included before "socket.h".*/
+#include <netinet/in.h>
 #include <netdb.h>
 #endif /* KERBEROS_V4 */
 #include  "socket.h"
diff --git a/imap.c b/imap.c
index 7fbac65971fca8f69865a41d2d0c34ef5b59bb95..944c246bc846806f6e8fb5e970884094447b5457 100644 (file)
--- a/imap.c
+++ b/imap.c
@@ -13,7 +13,6 @@
 #if defined(STDC_HEADERS)
 #include  <stdlib.h>
 #endif
-#include  "socket.h"
 #include  "fetchmail.h"
 
 static int count, seen, recent, unseen, imap4;
@@ -164,7 +163,7 @@ static int imap_fetch(FILE *sockfp, int number, int *lenp)
      * If we're using IMAP4, we can fetch the message without setting its
      * seen flag.  This is good!  It means that if the protocol exchange
      * craps out during the message, it will still be marked `unseen' on
-     * the server 
+     * the server.
      */
     if (imap4)
        gen_send(sockfp, "FETCH %d RFC822.PEEK", number);
diff --git a/pop2.c b/pop2.c
index 0ca40e0456d260b53af5330f49bee5d8ac759dc5..4b389f20cd64adb0395524ac30e61e6e529e9374 100644 (file)
--- a/pop2.c
+++ b/pop2.c
@@ -11,7 +11,6 @@
 #if defined(STDC_HEADERS)
 #include <stdlib.h>
 #endif
-#include  "socket.h"
 #include  "fetchmail.h"
 
 static int pound_arg, equal_arg;
diff --git a/pop3.c b/pop3.c
index b5c9c4d704b79c81883d42fbc186c6e2c1ec97e2..f99b9f35c7a98e8dd9db93498d3e18391e4aaef9 100644 (file)
--- a/pop3.c
+++ b/pop3.c
@@ -16,7 +16,6 @@
 #include  <stdlib.h>
 #endif
  
-#include  "socket.h"
 #include  "fetchmail.h"
 
 #define PROTOCOL_ERROR {error(0, 0, "protocol error"); return(PS_ERROR);}
diff --git a/smtp.c b/smtp.c
index 733f7050451b0b3670c9f770443b54811e57032f..cee1841bbc365505ffa2f308e3289b38701b9fc7 100644 (file)
--- a/smtp.c
+++ b/smtp.c
 
 #include <stdio.h>
 #include <config.h>
-#include <sys/types.h>
 #include <unistd.h>
 #include <string.h>
-#include "socket.h"
 #include "fetchmail.h"
 #include "smtp.h"