kernel/slab: Make block_alloc and block_free static.

They are not used outside this file.
This commit is contained in:
Augustin Cavalier 2022-03-09 18:08:42 -05:00
parent 1b333e9176
commit c3c7a44261

View File

@ -70,7 +70,7 @@ size_to_index(size_t size)
}
void*
static void*
block_alloc(size_t size, size_t alignment, uint32 flags)
{
if (alignment > kMinObjectAlignment) {
@ -143,7 +143,7 @@ block_alloc_early(size_t size)
}
void
static void
block_free(void* block, uint32 flags)
{
if (block == NULL)