[4.1] c9b0aa0 Make varnishtop's vtree bits static.

Dag Haavi Finstad daghf at varnish-software.com
Fri Sep 4 15:54:55 CEST 2015


commit c9b0aa06e2a7f4bffb5b71cc183ba6bd1bd3ac3c
Author: Dag Haavi Finstad <daghf at varnish-software.com>
Date:   Tue Aug 18 11:45:49 2015 +0200

    Make varnishtop's vtree bits static.

diff --git a/bin/varnishtop/varnishtop.c b/bin/varnishtop/varnishtop.c
index f9aaf47..3c4c733 100644
--- a/bin/varnishtop/varnishtop.c
+++ b/bin/varnishtop/varnishtop.c
@@ -109,10 +109,10 @@ static int f_flag = 0;
 
 static unsigned maxfieldlen = 0;
 
-VRB_PROTOTYPE(t_order, top, e_order, cmp_order);
-VRB_GENERATE(t_order, top, e_order, cmp_order);
-VRB_PROTOTYPE(t_key, top, e_key, cmp_key);
-VRB_GENERATE(t_key, top, e_key, cmp_key);
+VRB_PROTOTYPE_STATIC(t_order, top, e_order, cmp_order);
+VRB_GENERATE_STATIC(t_order, top, e_order, cmp_order);
+VRB_PROTOTYPE_STATIC(t_key, top, e_key, cmp_key);
+VRB_GENERATE_STATIC(t_key, top, e_key, cmp_key);
 
 static int __match_proto__(VSLQ_dispatch_f)
 accumulate(struct VSL_data *vsl, struct VSL_transaction * const pt[],



More information about the varnish-commit mailing list