From a140d00b5cb36a729cbe7d8bcc591472befaa49d Mon Sep 17 00:00:00 2001 From: Linnnus Date: Sat, 12 Apr 2025 00:27:43 +0000 Subject: 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)... --- src/core/std_allocator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/std_allocator.h') diff --git a/src/core/std_allocator.h b/src/core/std_allocator.h index 6170272..57d419e 100644 --- a/src/core/std_allocator.h +++ b/src/core/std_allocator.h @@ -6,6 +6,6 @@ #include "allocator.h" -SandAllocator sand_new_std_allocator(); +SandAllocator sand_get_std_allocator(void); #endif -- cgit v1.2.3