[master] c65d4c5 Use the static version of VRB

Poul-Henning Kamp phk at varnish-cache.org
Sat Jun 29 14:53:02 CEST 2013


commit c65d4c5ca0f708ebdc1a2dd2893f899832151607
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Sat Jun 29 12:51:16 2013 +0000

    Use the static version of VRB

diff --git a/lib/libvarnishapi/vsl_dispatch.c b/lib/libvarnishapi/vsl_dispatch.c
index b74c1d45..51b91af 100644
--- a/lib/libvarnishapi/vsl_dispatch.c
+++ b/lib/libvarnishapi/vsl_dispatch.c
@@ -149,8 +149,8 @@ vtx_keycmp(const struct vtx_key *a, const struct vtx_key *b)
 	return (0);
 }
 
-VRB_PROTOTYPE(vtx_tree, vtx_key, entry, vtx_keycmp);
-VRB_GENERATE(vtx_tree, vtx_key, entry, vtx_keycmp);
+VRB_PROTOTYPE_STATIC(vtx_tree, vtx_key, entry, vtx_keycmp);
+VRB_GENERATE_STATIC(vtx_tree, vtx_key, entry, vtx_keycmp);
 
 static int
 vslc_raw_next(void *cursor)



More information about the varnish-commit mailing list