r3525 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Mon Jan 19 10:48:16 CET 2009


Author: phk
Date: 2009-01-19 10:48:16 +0100 (Mon, 19 Jan 2009)
New Revision: 3525

Modified:
   trunk/varnish-cache/bin/varnishd/cache.h
   trunk/varnish-cache/bin/varnishd/cache_acceptor.h
Log:
Move the vca_pipes to a more proper header file



Modified: trunk/varnish-cache/bin/varnishd/cache.h
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache.h	2009-01-19 09:36:07 UTC (rev 3524)
+++ trunk/varnish-cache/bin/varnishd/cache.h	2009-01-19 09:48:16 UTC (rev 3525)
@@ -398,7 +398,6 @@
 void vca_close_session(struct sess *sp, const char *why);
 void VCA_Prep(struct sess *sp);
 void VCA_Init(void);
-extern int vca_pipes[2];
 
 /* cache_backend.c */
 

Modified: trunk/varnish-cache/bin/varnishd/cache_acceptor.h
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_acceptor.h	2009-01-19 09:36:07 UTC (rev 3524)
+++ trunk/varnish-cache/bin/varnishd/cache_acceptor.h	2009-01-19 09:48:16 UTC (rev 3525)
@@ -34,6 +34,8 @@
 typedef void acceptor_init_f(void);
 typedef void acceptor_pass_f(struct sess *);
 
+extern int vca_pipes[2];
+
 struct acceptor {
 	const char		*name;
 	acceptor_init_f		*init;



More information about the varnish-commit mailing list