mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-09-12 04:47:41 +02:00
whitespace neater.
git-svn-id: file:///svn/unbound/trunk@3205 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
@@ -211,7 +211,7 @@ void slabhash_setmarkdel(struct slabhash* sl, lruhash_markdelfunc_t md)
|
||||
}
|
||||
|
||||
void slabhash_traverse(struct slabhash* sh, int wr,
|
||||
void (*func)(struct lruhash_entry*, void*), void* arg)
|
||||
void (*func)(struct lruhash_entry*, void*), void* arg)
|
||||
{
|
||||
size_t i;
|
||||
for(i=0; i<sh->size; i++)
|
||||
@@ -224,7 +224,7 @@ size_t count_slabhash_entries(struct slabhash* sh)
|
||||
|
||||
for(slab=0; slab<sh->size; slab++) {
|
||||
lock_quick_lock(&sh->array[slab]->lock);
|
||||
cnt += sh->array[slab]->num;
|
||||
cnt += sh->array[slab]->num;
|
||||
lock_quick_unlock(&sh->array[slab]->lock);
|
||||
}
|
||||
return cnt;
|
||||
|
||||
Reference in New Issue
Block a user