tests/test_buffer.c

changeset 1520
03d703c3cfe9
parent 1518
39b9dd939ac8
--- 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 <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);

mercurial