r4088 - trunk/varnish-cache/bin/varnishd
phk at projects.linpro.no
phk at projects.linpro.no
Mon May 25 10:51:27 CEST 2009
Author: phk
Date: 2009-05-25 10:51:27 +0200 (Mon, 25 May 2009)
New Revision: 4088
Modified:
trunk/varnish-cache/bin/varnishd/cache.h
trunk/varnish-cache/bin/varnishd/cache_hash.c
trunk/varnish-cache/bin/varnishd/cache_wrw.c
Log:
A bit of FlexeLint polishing
Modified: trunk/varnish-cache/bin/varnishd/cache.h
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache.h 2009-05-22 20:22:54 UTC (rev 4087)
+++ trunk/varnish-cache/bin/varnishd/cache.h 2009-05-25 08:51:27 UTC (rev 4088)
@@ -89,7 +89,6 @@
struct objhead;
struct objcore;
struct workreq;
-struct addrinfo;
struct esi_bit;
struct vrt_backend;
struct cli_proto;
@@ -585,7 +584,6 @@
void WRK_SumStat(const struct worker *w);
void WRW_Reserve(struct worker *w, int *fd);
-void WRW_Release(struct worker *w);
unsigned WRW_Flush(struct worker *w);
unsigned WRW_FlushRelease(struct worker *w);
unsigned WRW_Write(struct worker *w, const void *ptr, int len);
Modified: trunk/varnish-cache/bin/varnishd/cache_hash.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_hash.c 2009-05-22 20:22:54 UTC (rev 4087)
+++ trunk/varnish-cache/bin/varnishd/cache_hash.c 2009-05-25 08:51:27 UTC (rev 4088)
@@ -606,6 +606,7 @@
Lck_Lock(&oh->mtx);
o->objcore->flags &= ~OC_F_BUSY;
hsh_rush(oh);
+ AN(o->ban);
Lck_Unlock(&oh->mtx);
}
Modified: trunk/varnish-cache/bin/varnishd/cache_wrw.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_wrw.c 2009-05-22 20:22:54 UTC (rev 4087)
+++ trunk/varnish-cache/bin/varnishd/cache_wrw.c 2009-05-25 08:51:27 UTC (rev 4088)
@@ -81,7 +81,7 @@
w->wfd = fd;
}
-void
+static void
WRW_Release(struct worker *w)
{
More information about the varnish-commit
mailing list