kernel/slab: Make block_alloc and block_free static.
They are not used outside this file.
This commit is contained in:
parent
1b333e9176
commit
c3c7a44261
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user