mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-06-09 08:34:02 -04:00
whitespace neater.
git-svn-id: file:///svn/unbound/trunk@3205 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
8fb0bbe9d8
commit
efe66a977e
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue