diff options
author | Linnnus <[email protected]> | 2025-04-12 00:27:43 +0000 |
---|---|---|
committer | Linnnus <[email protected]> | 2025-04-15 01:08:30 +0000 |
commit | a140d00b5cb36a729cbe7d8bcc591472befaa49d (patch) | |
tree | 4137a990582e30f14a8e2ffea05ec8e6fb60035f /src/core/page_allocator.h | |
parent | d15dd976b98b4c39a899b3d68047dc752699dca7 (diff) |
refactor(core): Rename sand_{new => get}_std_allocator, void parameters
This patch just renames the function for getting a std allocator. This
matches the terminology used for the page allocator. There aren't
actually any (non-global) resources associated with these allocators so
the "get" name makes more sense.
It also fixes some (potential) issues with empty parameter
specifications in sand_get_std_allocator() and
sand_get_page_allocator(). Apparently () is not the same as (void)...
Diffstat (limited to 'src/core/page_allocator.h')
-rw-r--r-- | src/core/page_allocator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/page_allocator.h b/src/core/page_allocator.h index 506cd8f..f591d89 100644 --- a/src/core/page_allocator.h +++ b/src/core/page_allocator.h @@ -6,6 +6,6 @@ #include "allocator.h" -SandAllocator *sand_get_page_allocator(); +SandAllocator *sand_get_page_allocator(void); #endif |