[master] d0cd23f Make it possible to call VTAILQ_TAIL on objects

Poul-Henning Kamp phk at project.varnish-software.com
Sat Jan 22 23:58:26 CET 2011


commit d0cd23f5f7cb989e9b637bcce31527c95490cde2
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Sat Jan 22 22:55:15 2011 +0000

    Make it possible to call VTAILQ_TAIL on objects

diff --git a/bin/varnishd/cache.h b/bin/varnishd/cache.h
index af1bfd2..599ef75 100644
--- a/bin/varnishd/cache.h
+++ b/bin/varnishd/cache.h
@@ -417,6 +417,7 @@ struct lru {
 };
 
 /* Object structure --------------------------------------------------*/
+VTAILQ_HEAD(objecthead, storage);
 
 struct object {
 	unsigned		magic;
@@ -451,7 +452,7 @@ struct object {
 
 	struct http		*http;
 
-	VTAILQ_HEAD(, storage)	store;
+	struct objecthead	store;
 
 	struct storage		*esidata;
 



More information about the varnish-commit mailing list