# HG changeset patch # User Mike Becker # Date 1764339820 -3600 # Node ID 03d703c3cfe92f928a630387ed253699a53364ef # Parent 0cc05a5c053d4d2243367a10fc182e2ba112d5d9 fix missing parameter list in system_page_size() diff -r 0cc05a5c053d -r 03d703c3cfe9 src/buffer.c --- 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 #include -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 -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); diff -r 0cc05a5c053d -r 03d703c3cfe9 tests/test_buffer.c --- a/tests/test_buffer.c Fri Nov 28 15:16:19 2025 +0100 +++ b/tests/test_buffer.c Fri Nov 28 15:23:40 2025 +0100 @@ -35,7 +35,7 @@ #ifdef _WIN32 #include #include -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 -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);