Fix style nits.

This commit is contained in:
Jason Evans 2011-02-13 18:44:59 -08:00
parent 9dcad2dfd1
commit 655f04a5a4
3 changed files with 8 additions and 6 deletions

View File

@ -62,7 +62,7 @@ hash(const void *key, size_t len, uint64_t seed)
h *= m;
h ^= h >> r;
return h;
return (h);
}
#endif

View File

@ -407,10 +407,10 @@ s2u(size_t size)
{
if (size <= small_maxclass)
return arenas[0]->bins[small_size2bin[size]].reg_size;
return (arenas[0]->bins[small_size2bin[size]].reg_size);
if (size <= arena_maxclass)
return PAGE_CEILING(size);
return CHUNK_CEILING(size);
return (PAGE_CEILING(size));
return (CHUNK_CEILING(size));
}
/*

View File

@ -206,13 +206,15 @@ chunk_alloc_mmap_internal(size_t size, bool noreserve)
void *
chunk_alloc_mmap(size_t size)
{
return chunk_alloc_mmap_internal(size, false);
return (chunk_alloc_mmap_internal(size, false));
}
void *
chunk_alloc_mmap_noreserve(size_t size)
{
return chunk_alloc_mmap_internal(size, true);
return (chunk_alloc_mmap_internal(size, true));
}
void