[evolution-patches] e-d-s: Unneeded headers
- From: Tor Lillqvist <tml novell com>
- To: evolution-patches lists ximian com
- Subject: [evolution-patches] e-d-s: Unneeded headers
- Date: Wed, 17 Aug 2005 03:24:53 +0300
This patch removed #includes for some headers whose functionality
isn't used in the file in question. <pthread.h> and <sys/uio.h> were
the most obvious ones I noticed. OK to apply?
--tml
Index: camel/camel-block-file.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/camel-block-file.c,v
retrieving revision 1.18
diff -p -u -2 -r1.18 camel-block-file.c
--- camel/camel-block-file.c 15 Aug 2005 03:23:09 -0000 1.18
+++ camel/camel-block-file.c 16 Aug 2005 23:09:38 -0000
@@ -28,5 +28,4 @@
#include <sys/types.h>
#include <sys/stat.h>
-#include <sys/uio.h>
#include <pthread.h>
#include <unistd.h>
Index: camel/camel-cipher-context.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/camel-cipher-context.c,v
retrieving revision 1.19
diff -p -u -2 -r1.19 camel-cipher-context.c
--- camel/camel-cipher-context.c 20 Sep 2004 05:59:53 -0000 1.19
+++ camel/camel-cipher-context.c 16 Aug 2005 23:09:39 -0000
@@ -25,5 +25,4 @@
#endif
-#include <pthread.h>
#include <string.h>
Index: camel/camel-index-control.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/camel-index-control.c,v
retrieving revision 1.7
diff -p -u -2 -r1.7 camel-index-control.c
--- camel/camel-index-control.c 2 Dec 2004 08:03:30 -0000 1.7
+++ camel/camel-index-control.c 16 Aug 2005 23:09:44 -0000
@@ -8,5 +8,4 @@
#include <ctype.h>
#include <sys/stat.h>
-#include <sys/uio.h>
#include <unistd.h>
#include <errno.h>
Index: camel/camel-index.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/camel-index.c,v
retrieving revision 1.5
diff -p -u -2 -r1.5 camel-index.c
--- camel/camel-index.c 6 Mar 2003 14:47:05 -0000 1.5
+++ camel/camel-index.c 16 Aug 2005 23:09:44 -0000
@@ -26,5 +26,4 @@
#include <ctype.h>
#include <sys/stat.h>
-#include <sys/uio.h>
#include <unistd.h>
#include <errno.h>
Index: camel/camel-partition-table.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/camel-partition-table.c,v
retrieving revision 1.8
diff -p -u -2 -r1.8 camel-partition-table.c
--- camel/camel-partition-table.c 2 Dec 2004 08:03:30 -0000 1.8
+++ camel/camel-partition-table.c 16 Aug 2005 23:09:51 -0000
@@ -29,5 +29,4 @@
#include <sys/types.h>
#include <sys/stat.h>
-#include <sys/uio.h>
#include <unistd.h>
#include <fcntl.h>
Index: camel/camel-sasl-digest-md5.h
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/camel-sasl-digest-md5.h,v
retrieving revision 1.3
diff -p -u -2 -r1.3 camel-sasl-digest-md5.h
--- camel/camel-sasl-digest-md5.h 27 Oct 2001 18:06:02 -0000 1.3
+++ camel/camel-sasl-digest-md5.h 16 Aug 2005 23:09:51 -0000
@@ -30,5 +30,4 @@ extern "C" {
#include <sys/types.h>
-#include <netdb.h>
#include <camel/camel-sasl.h>
Index: camel/camel-sasl-kerberos4.h
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/camel-sasl-kerberos4.h,v
retrieving revision 1.6
diff -p -u -2 -r1.6 camel-sasl-kerberos4.h
--- camel/camel-sasl-kerberos4.h 14 Jan 2003 05:48:08 -0000 1.6
+++ camel/camel-sasl-kerberos4.h 16 Aug 2005 23:09:51 -0000
@@ -30,5 +30,4 @@ extern "C" {
#include <sys/types.h>
-#include <netdb.h>
#include <camel/camel-sasl.h>
Index: camel/camel-service.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/camel-service.c,v
retrieving revision 1.100
diff -p -u -2 -r1.100 camel-service.c
--- camel/camel-service.c 21 Jul 2005 04:03:10 -0000 1.100
+++ camel/camel-service.c 16 Aug 2005 23:09:52 -0000
@@ -35,6 +35,4 @@
#include <errno.h>
-#include <sys/poll.h>
-
#include "libedataserver/e-msgport.h"
Index: camel/camel-text-index.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/camel-text-index.c,v
retrieving revision 1.20
diff -p -u -2 -r1.20 camel-text-index.c
--- camel/camel-text-index.c 2 Dec 2004 08:03:30 -0000 1.20
+++ camel/camel-text-index.c 16 Aug 2005 23:09:55 -0000
@@ -29,5 +29,4 @@
#include <sys/types.h>
#include <sys/stat.h>
-#include <sys/uio.h>
#include <unistd.h>
#include <errno.h>
Index: camel/camel-vee-folder.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/camel-vee-folder.c,v
retrieving revision 1.74
diff -p -u -2 -r1.74 camel-vee-folder.c
--- camel/camel-vee-folder.c 1 Feb 2005 08:37:04 -0000 1.74
+++ camel/camel-vee-folder.c 16 Aug 2005 23:09:57 -0000
@@ -26,5 +26,4 @@
#include <string.h>
-#include <pthread.h>
#include "camel-exception.h"
Index: camel/camel-vee-summary.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/camel-vee-summary.c,v
retrieving revision 1.2
diff -p -u -2 -r1.2 camel-vee-summary.c
--- camel/camel-vee-summary.c 12 Nov 2004 05:53:12 -0000 1.2
+++ camel/camel-vee-summary.c 16 Aug 2005 23:09:57 -0000
@@ -25,5 +25,4 @@
#include <sys/stat.h>
-#include <sys/uio.h>
#include <unistd.h>
#include <errno.h>
Index: camel/providers/groupwise/camel-groupwise-summary.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/providers/groupwise/camel-groupwise-summary.c,v
retrieving revision 1.6
diff -p -u -2 -r1.6 camel-groupwise-summary.c
--- camel/providers/groupwise/camel-groupwise-summary.c 7 Jul 2005 07:10:59 -0000 1.6
+++ camel/providers/groupwise/camel-groupwise-summary.c 16 Aug 2005 23:09:58 -0000
@@ -28,6 +28,4 @@
#endif
-#include <sys/stat.h>
-#include <sys/uio.h>
#include <unistd.h>
#include <errno.h>
Index: camel/providers/imap/camel-imap-summary.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/providers/imap/camel-imap-summary.c,v
retrieving revision 1.22
diff -p -u -2 -r1.22 camel-imap-summary.c
--- camel/providers/imap/camel-imap-summary.c 1 Feb 2005 21:31:45 -0000 1.22
+++ camel/providers/imap/camel-imap-summary.c 16 Aug 2005 23:10:02 -0000
@@ -27,5 +27,4 @@
#include <sys/stat.h>
-#include <sys/uio.h>
#include <unistd.h>
#include <errno.h>
Index: camel/providers/local/camel-local-summary.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/providers/local/camel-local-summary.c,v
retrieving revision 1.29
diff -p -u -2 -r1.29 camel-local-summary.c
--- camel/providers/local/camel-local-summary.c 12 Nov 2004 05:53:12 -0000 1.29
+++ camel/providers/local/camel-local-summary.c 16 Aug 2005 23:10:05 -0000
@@ -26,5 +26,4 @@
#include <ctype.h>
#include <sys/stat.h>
-#include <sys/uio.h>
#include <unistd.h>
#include <errno.h>
Index: camel/providers/local/camel-mh-summary.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/providers/local/camel-mh-summary.c,v
retrieving revision 1.20
diff -p -u -2 -r1.20 camel-mh-summary.c
--- camel/providers/local/camel-mh-summary.c 25 Feb 2005 03:42:38 -0000 1.20
+++ camel/providers/local/camel-mh-summary.c 16 Aug 2005 23:10:07 -0000
@@ -27,5 +27,4 @@
#include <fcntl.h>
-#include <sys/uio.h>
#include <unistd.h>
#include <errno.h>
Index: camel/providers/local/camel-spool-summary.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/providers/local/camel-spool-summary.c,v
retrieving revision 1.24
diff -p -u -2 -r1.24 camel-spool-summary.c
--- camel/providers/local/camel-spool-summary.c 12 Nov 2004 05:53:12 -0000 1.24
+++ camel/providers/local/camel-spool-summary.c 16 Aug 2005 23:10:08 -0000
@@ -27,5 +27,4 @@
#include <sys/stat.h>
#include <fcntl.h>
-#include <sys/uio.h>
#include <unistd.h>
#include <errno.h>
Index: camel/providers/nntp/camel-nntp-summary.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/providers/nntp/camel-nntp-summary.c,v
retrieving revision 1.19
diff -p -u -2 -r1.19 camel-nntp-summary.c
--- camel/providers/nntp/camel-nntp-summary.c 19 Nov 2004 05:26:47 -0000 1.19
+++ camel/providers/nntp/camel-nntp-summary.c 16 Aug 2005 23:10:08 -0000
@@ -26,5 +26,4 @@
#include <ctype.h>
#include <sys/stat.h>
-#include <sys/uio.h>
#include <unistd.h>
#include <errno.h>
Index: camel/providers/pop3/camel-pop3-store.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/providers/pop3/camel-pop3-store.c,v
retrieving revision 1.122
diff -p -u -2 -r1.122 camel-pop3-store.c
--- camel/providers/pop3/camel-pop3-store.c 25 Jul 2005 09:11:22 -0000 1.122
+++ camel/providers/pop3/camel-pop3-store.c 16 Aug 2005 23:10:09 -0000
@@ -29,6 +29,4 @@
#include <sys/types.h>
-#include <sys/socket.h>
-#include <netinet/in.h>
#include <errno.h>
#include <stdio.h>
Index: camel/providers/smtp/camel-smtp-transport.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/providers/smtp/camel-smtp-transport.c,v
retrieving revision 1.167
diff -p -u -2 -r1.167 camel-smtp-transport.c
--- camel/providers/smtp/camel-smtp-transport.c 14 Jan 2005 21:53:51 -0000 1.167
+++ camel/providers/smtp/camel-smtp-transport.c 16 Aug 2005 23:10:10 -0000
@@ -29,7 +29,4 @@
#include <sys/param.h>
#include <sys/types.h>
-#include <sys/socket.h>
-#include <netinet/in.h>
-#include <arpa/inet.h>
#include <errno.h>
#include <stdio.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]