--- a/src/buffer.c Fri Nov 28 15:16:19 2025 +0100 +++ b/src/buffer.c Fri Nov 28 15:23:40 2025 +0100 @@ -35,7 +35,7 @@ #ifdef _WIN32 #include <Windows.h> #include <sysinfoapi.h> -static unsigned long system_page_size() { +static unsigned long system_page_size(void) { static unsigned long ps = 0; if (ps == 0) { SYSTEM_INFO sysinfo; @@ -46,7 +46,7 @@ } #else #include <unistd.h> -static unsigned long system_page_size() { +static unsigned long system_page_size(void) { static unsigned long ps = 0; if (ps == 0) { long sc = sysconf(_SC_PAGESIZE);