[master] 2eb7e01 Take another Init function private

Poul-Henning Kamp phk at FreeBSD.org
Thu Feb 11 10:15:39 CET 2016


commit 2eb7e0142d31642a0ed267432a218ee39cc75d20
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Wed Feb 10 23:06:10 2016 +0000

    Take another Init function private

diff --git a/bin/varnishd/cache/cache_main.c b/bin/varnishd/cache/cache_main.c
index 15bd0ff..04b1ee4 100644
--- a/bin/varnishd/cache/cache_main.c
+++ b/bin/varnishd/cache/cache_main.c
@@ -33,7 +33,6 @@
 #include <stdlib.h>
 
 #include "cache.h"
-#include "http1/cache_http1.h"
 #include "common/heritage.h"
 
 #include "vcli_priv.h"
diff --git a/bin/varnishd/cache/cache_priv.h b/bin/varnishd/cache/cache_priv.h
index d5b4d10..2676680 100644
--- a/bin/varnishd/cache/cache_priv.h
+++ b/bin/varnishd/cache/cache_priv.h
@@ -116,6 +116,9 @@ void VRTPRIV_dynamic_kill(struct vrt_privs *privs, uintptr_t id);
 /* cache_vrt_vmod.c */
 void VMOD_Init(void);
 
+/* http1/cache_http1_pipe.c */
+void V1P_Init(void);
+
 /* stevedore.c */
 void STV_open(void);
 void STV_close(void);
diff --git a/bin/varnishd/http1/cache_http1.h b/bin/varnishd/http1/cache_http1.h
index 597b432..07f2d63 100644
--- a/bin/varnishd/http1/cache_http1.h
+++ b/bin/varnishd/http1/cache_http1.h
@@ -49,7 +49,6 @@ struct v1p_acct {
 	uint64_t        out;
 };
 
-void V1P_Init(void);
 void V1P_Process(struct req *, int fd, struct v1p_acct *);
 void V1P_Charge(struct req *, const struct v1p_acct *, struct VSC_C_vbe *);
 



More information about the varnish-commit mailing list