[experimental-ims] 54e7eb5 Move prototypes to smaller scope

Geoff Simmons geoff at varnish-cache.org
Mon Jan 9 21:52:39 CET 2012


commit 54e7eb52c299a09f2adada5c9fc9d4173a5886ff
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Wed Nov 16 05:59:49 2011 +0000

    Move prototypes to smaller scope

diff --git a/bin/varnishd/common/common.h b/bin/varnishd/common/common.h
index ff06c64..f6d01db 100644
--- a/bin/varnishd/common/common.h
+++ b/bin/varnishd/common/common.h
@@ -73,9 +73,6 @@ void mgt_child_inherit(int fd, const char *what);
 
 #define NEEDLESS_RETURN(foo)	return (foo)
 
-/* stevedore.c */
-void STV_Config(const char *spec);
-void STV_Config_Transient(void);
 
 /* vsm.c */
 // extern struct VSM_head		*VSM_head;
diff --git a/bin/varnishd/mgt/mgt.h b/bin/varnishd/mgt/mgt.h
index 4aec482..1eabe10 100644
--- a/bin/varnishd/mgt/mgt.h
+++ b/bin/varnishd/mgt/mgt.h
@@ -84,6 +84,10 @@ void mgt_sandbox_solaris_privsep(void);
 void mgt_SHM_Init(const char *arg);
 void mgt_SHM_Pid(void);
 
+/* stevedore_mgt.c */
+void STV_Config(const char *spec);
+void STV_Config_Transient(void);
+
 /* mgt_vcc.c */
 void mgt_vcc_init(void);
 int mgt_vcc_default(const char *bflag, const char *f_arg, char *vcl, int Cflag);



More information about the varnish-commit mailing list