r4234 - in trunk/varnish-cache: bin/varnishd lib/libvarnish lib/libvcl

phk at projects.linpro.no phk at projects.linpro.no
Tue Sep 8 20:19:52 CEST 2009


Author: phk
Date: 2009-09-08 20:19:52 +0200 (Tue, 08 Sep 2009)
New Revision: 4234

Modified:
   trunk/varnish-cache/bin/varnishd/mgt_param.c
   trunk/varnish-cache/bin/varnishd/storage_file.c
   trunk/varnish-cache/bin/varnishd/varnishd.c
   trunk/varnish-cache/lib/libvarnish/argv.c
   trunk/varnish-cache/lib/libvarnish/cli_common.c
   trunk/varnish-cache/lib/libvcl/vcc_compile.c
   trunk/varnish-cache/lib/libvcl/vcc_dir_random.c
   trunk/varnish-cache/lib/libvcl/vcc_dir_round_robin.c
Log:
Remove some unnecessary #includes



Modified: trunk/varnish-cache/bin/varnishd/mgt_param.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/mgt_param.c	2009-09-08 12:24:40 UTC (rev 4233)
+++ trunk/varnish-cache/bin/varnishd/mgt_param.c	2009-09-08 18:19:52 UTC (rev 4234)
@@ -38,7 +38,6 @@
 #include <grp.h>
 #include <limits.h>
 #include <pwd.h>
-#include <regex.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>

Modified: trunk/varnish-cache/bin/varnishd/storage_file.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/storage_file.c	2009-09-08 12:24:40 UTC (rev 4233)
+++ trunk/varnish-cache/bin/varnishd/storage_file.c	2009-09-08 18:19:52 UTC (rev 4234)
@@ -36,11 +36,9 @@
 
 #include <sys/param.h>
 #include <sys/mman.h>
-#include <sys/socket.h>
 #include <sys/stat.h>
 
 #include <errno.h>
-#include <fcntl.h>
 #include <limits.h>
 #include <stdint.h>
 #include <stdio.h>

Modified: trunk/varnish-cache/bin/varnishd/varnishd.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/varnishd.c	2009-09-08 12:24:40 UTC (rev 4233)
+++ trunk/varnish-cache/bin/varnishd/varnishd.c	2009-09-08 18:19:52 UTC (rev 4234)
@@ -38,8 +38,6 @@
 
 #include <ctype.h>
 #include <errno.h>
-#include <fcntl.h>
-#include <limits.h>
 #include <poll.h>
 #include <signal.h>
 #include <stdarg.h>

Modified: trunk/varnish-cache/lib/libvarnish/argv.c
===================================================================
--- trunk/varnish-cache/lib/libvarnish/argv.c	2009-09-08 12:24:40 UTC (rev 4233)
+++ trunk/varnish-cache/lib/libvarnish/argv.c	2009-09-08 18:19:52 UTC (rev 4234)
@@ -45,7 +45,6 @@
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
-#include <stdint.h>
 
 #include "libvarnish.h"
 

Modified: trunk/varnish-cache/lib/libvarnish/cli_common.c
===================================================================
--- trunk/varnish-cache/lib/libvarnish/cli_common.c	2009-09-08 12:24:40 UTC (rev 4233)
+++ trunk/varnish-cache/lib/libvarnish/cli_common.c	2009-09-08 18:19:52 UTC (rev 4234)
@@ -35,12 +35,10 @@
 #include <sys/types.h>
 #include <sys/uio.h>
 
-#include <ctype.h>
 #include <errno.h>
 #include <poll.h>
 #include <signal.h>
 #include <stdarg.h>
-#include <stdint.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>

Modified: trunk/varnish-cache/lib/libvcl/vcc_compile.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_compile.c	2009-09-08 12:24:40 UTC (rev 4233)
+++ trunk/varnish-cache/lib/libvcl/vcc_compile.c	2009-09-08 18:19:52 UTC (rev 4234)
@@ -67,7 +67,6 @@
 
 #include <ctype.h>
 #include <errno.h>
-#include <fcntl.h>
 #include <stdio.h>
 #include <stdarg.h>
 #include <stdlib.h>

Modified: trunk/varnish-cache/lib/libvcl/vcc_dir_random.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_dir_random.c	2009-09-08 12:24:40 UTC (rev 4233)
+++ trunk/varnish-cache/lib/libvcl/vcc_dir_random.c	2009-09-08 18:19:52 UTC (rev 4234)
@@ -35,7 +35,6 @@
 #include <sys/types.h>
 #include <sys/socket.h>
 
-#include <netdb.h>
 #include <stdio.h>
 #include <stdarg.h>
 #include <string.h>

Modified: trunk/varnish-cache/lib/libvcl/vcc_dir_round_robin.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_dir_round_robin.c	2009-09-08 12:24:40 UTC (rev 4233)
+++ trunk/varnish-cache/lib/libvcl/vcc_dir_round_robin.c	2009-09-08 18:19:52 UTC (rev 4234)
@@ -34,7 +34,6 @@
 #include <sys/types.h>
 #include <sys/socket.h>
 
-#include <netdb.h>
 #include <stdio.h>
 #include <stdarg.h>
 #include <string.h>



More information about the varnish-commit mailing list