2
0
Fork 0

[core] Fix compiler warning in throttle.c

personal/stbuehler/wip
Thomas Porzelt 2010-02-14 20:12:10 +01:00
parent 5616992ca0
commit 48913fac46
1 changed files with 1 additions and 1 deletions

View File

@ -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); }" */