From 451cbbb6fbd7b73d7e84da463f7ade313c47216c Mon Sep 17 00:00:00 2001 From: tekimen Date: Wed, 19 Jul 2023 17:46:30 +0900 Subject: [PATCH] Fix warning crc32.c on function declaration without a prototype. (#11742) --- 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 374fee38159..602ce3eeb6e 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)