From 48913fac4622a238a2a01e08d6da6e6021b94fb6 Mon Sep 17 00:00:00 2001 From: Thomas Porzelt Date: Sun, 14 Feb 2010 20:12:10 +0100 Subject: [PATCH] [core] Fix compiler warning in throttle.c --- src/main/throttle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/throttle.c b/src/main/throttle.c index 58618a8..55805d7 100644 --- a/src/main/throttle.c +++ b/src/main/throttle.c @@ -88,7 +88,7 @@ void li_throttle_pool_release(liConnection *con) { con->throttle.pool.ptr = NULL; } -void li_throttle_pool_rearm(liWorker *wrk, liThrottlePool *pool) { +static void li_throttle_pool_rearm(liWorker *wrk, liThrottlePool *pool) { ev_tstamp now = CUR_TS(wrk); /* this is basically another way to do "if (try_lock(foo)) { ...; unlock(foo); }" */