r4820 - trunk/varnish-cache/include
phk at varnish-cache.org
phk at varnish-cache.org
Wed May 19 10:15:54 CEST 2010
Author: phk
Date: 2010-05-19 10:15:54 +0200 (Wed, 19 May 2010)
New Revision: 4820
Modified:
trunk/varnish-cache/include/vbm.h
Log:
Unhack the vbit_destroy hack, I had forgotten "inline"
Modified: trunk/varnish-cache/include/vbm.h
===================================================================
--- trunk/varnish-cache/include/vbm.h 2010-05-19 08:15:23 UTC (rev 4819)
+++ trunk/varnish-cache/include/vbm.h 2010-05-19 08:15:54 UTC (rev 4820)
@@ -75,7 +75,7 @@
return (vb);
}
-static void
+static inline void
vbit_destroy(struct vbitmap *vb)
{
@@ -89,9 +89,6 @@
vbit_set(struct vbitmap *vb, unsigned bit)
{
- if (0) /* XXX: HACK: ref it, to silence compiler */
- vbit_destroy(vb);
-
if (bit >= vb->nbits)
vbit_expand(vb, bit);
vb->bits[VBITMAP_IDX(bit)] |= VBITMAP_BIT(bit);
More information about the varnish-commit
mailing list