From 927330fc1640b26a94c558d6fa7bfbeba48b17a7 Mon Sep 17 00:00:00 2001 From: Yuya Hamada Date: Wed, 19 Jul 2023 00:20:45 +0900 Subject: [PATCH] Fix warning crc32.c on function declaration without a prototype. --- ext/standard/crc32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/standard/crc32.c b/ext/standard/crc32.c index 374fee381593a..602ce3eeb6e2b 100644 --- a/ext/standard/crc32.c +++ b/ext/standard/crc32.c @@ -39,7 +39,7 @@ static unsigned long getauxval(unsigned long key) { } # endif -static inline int has_crc32_insn() { +static inline int has_crc32_insn(void) { /* Only go through the runtime detection once. */ static int res = -1; if (res != -1)