[master] cce139a Staticize

Poul-Henning Kamp phk at FreeBSD.org
Mon Aug 14 13:21:06 CEST 2017


commit cce139aaf060e4fdd441a94533e14420d8bc6e04
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Aug 14 11:18:19 2017 +0000

    Staticize

diff --git a/bin/varnishd/mgt/mgt_main.c b/bin/varnishd/mgt/mgt_main.c
index 8b6c643..0f50910 100644
--- a/bin/varnishd/mgt/mgt_main.c
+++ b/bin/varnishd/mgt/mgt_main.c
@@ -74,7 +74,7 @@ static struct vpf_fh *pfh1 = NULL;
 static struct vpf_fh *pfh2 = NULL;
 
 static struct vfil_path *vcl_path = NULL;
-VTAILQ_HEAD(,f_arg) f_args = VTAILQ_HEAD_INITIALIZER(f_args);
+static VTAILQ_HEAD(,f_arg) f_args = VTAILQ_HEAD_INITIALIZER(f_args);
 
 int optreset;	// Some has it, some doesn't.  Cheaper than auto*
 



More information about the varnish-commit mailing list