r4214 - trunk/varnish-cache/bin/varnishd
petter at projects.linpro.no
petter at projects.linpro.no
Fri Aug 28 16:19:41 CEST 2009
Author: petter
Date: 2009-08-28 16:19:41 +0200 (Fri, 28 Aug 2009)
New Revision: 4214
Modified:
trunk/varnish-cache/bin/varnishd/cache_acceptor.c
trunk/varnish-cache/bin/varnishd/cache_ban.c
trunk/varnish-cache/bin/varnishd/cache_expire.c
trunk/varnish-cache/bin/varnishd/cache_pool.c
trunk/varnish-cache/bin/varnishd/cache_waiter_epoll.c
trunk/varnish-cache/bin/varnishd/cache_waiter_poll.c
trunk/varnish-cache/bin/varnishd/hash_critbit.c
Log:
gcc 4.4.1 really expects the code to go to infinity and beyond.
Modified: trunk/varnish-cache/bin/varnishd/cache_acceptor.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_acceptor.c 2009-08-27 16:34:23 UTC (rev 4213)
+++ trunk/varnish-cache/bin/varnishd/cache_acceptor.c 2009-08-28 14:19:41 UTC (rev 4214)
@@ -268,6 +268,7 @@
WRK_QueueSession(sp);
}
}
+ return NULL;
}
/*--------------------------------------------------------------------*/
Modified: trunk/varnish-cache/bin/varnishd/cache_ban.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_ban.c 2009-08-27 16:34:23 UTC (rev 4213)
+++ trunk/varnish-cache/bin/varnishd/cache_ban.c 2009-08-28 14:19:41 UTC (rev 4214)
@@ -550,6 +550,7 @@
HSH_Deref(sp->wrk, &o);
TIM_sleep(params->ban_lurker_sleep);
}
+ return NULL;
}
Modified: trunk/varnish-cache/bin/varnishd/cache_expire.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_expire.c 2009-08-27 16:34:23 UTC (rev 4213)
+++ trunk/varnish-cache/bin/varnishd/cache_expire.c 2009-08-28 14:19:41 UTC (rev 4214)
@@ -296,6 +296,7 @@
HSH_DerefObjCore(sp);
}
}
+ return NULL;
}
/*--------------------------------------------------------------------
Modified: trunk/varnish-cache/bin/varnishd/cache_pool.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_pool.c 2009-08-27 16:34:23 UTC (rev 4213)
+++ trunk/varnish-cache/bin/varnishd/cache_pool.c 2009-08-28 14:19:41 UTC (rev 4214)
@@ -428,6 +428,7 @@
TIM_sleep(params->wthread_purge_delay * 1e-3);
}
+ return NULL;
}
/*--------------------------------------------------------------------
@@ -500,6 +501,7 @@
wrk_breed_flock(wq[u]);
}
}
+ return NULL;
}
/*--------------------------------------------------------------------
Modified: trunk/varnish-cache/bin/varnishd/cache_waiter_epoll.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_waiter_epoll.c 2009-08-27 16:34:23 UTC (rev 4213)
+++ trunk/varnish-cache/bin/varnishd/cache_waiter_epoll.c 2009-08-28 14:19:41 UTC (rev 4214)
@@ -195,6 +195,7 @@
SES_Delete(sp);
}
}
+ return NULL;
}
/*--------------------------------------------------------------------*/
@@ -214,6 +215,7 @@
TIM_sleep(100 * 1e-3);
assert(read(dotimer_pipe[0], &junk, 1));
}
+ return NULL;
}
/*--------------------------------------------------------------------*/
Modified: trunk/varnish-cache/bin/varnishd/cache_waiter_poll.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_waiter_poll.c 2009-08-27 16:34:23 UTC (rev 4213)
+++ trunk/varnish-cache/bin/varnishd/cache_waiter_poll.c 2009-08-28 14:19:41 UTC (rev 4214)
@@ -152,6 +152,7 @@
SES_Delete(sp);
}
}
+ return NULL;
}
/*--------------------------------------------------------------------*/
Modified: trunk/varnish-cache/bin/varnishd/hash_critbit.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/hash_critbit.c 2009-08-27 16:34:23 UTC (rev 4213)
+++ trunk/varnish-cache/bin/varnishd/hash_critbit.c 2009-08-28 14:19:41 UTC (rev 4214)
@@ -375,6 +375,7 @@
Lck_Unlock(&hcb_mtx);
WRK_SumStat(&ww);
}
+ return NULL;
}
/**********************************************************************/
More information about the varnish-commit
mailing list