From e91c2991387c782fc8c76d452563acefceef99ce Mon Sep 17 00:00:00 2001 From: phk Date: Mon, 19 Jan 2009 09:48:16 +0000 Subject: [PATCH] Move the vca_pipes to a more proper header file git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3525 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache.h | 1 - varnish-cache/bin/varnishd/cache_acceptor.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/varnish-cache/bin/varnishd/cache.h b/varnish-cache/bin/varnishd/cache.h index 22135bd5..52f4a0df 100644 --- a/varnish-cache/bin/varnishd/cache.h +++ b/varnish-cache/bin/varnishd/cache.h @@ -398,7 +398,6 @@ void vca_return_session(struct sess *sp); 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 */ diff --git a/varnish-cache/bin/varnishd/cache_acceptor.h b/varnish-cache/bin/varnishd/cache_acceptor.h index f7921406..9ffd567f 100644 --- a/varnish-cache/bin/varnishd/cache_acceptor.h +++ b/varnish-cache/bin/varnishd/cache_acceptor.h @@ -34,6 +34,8 @@ struct sess; 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; -- 2.39.5