Skip to content

Commit 451cbbb

Browse files
Fix warning crc32.c on function declaration without a prototype. (#11742)
1 parent dff4e40 commit 451cbbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/standard/crc32.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ static unsigned long getauxval(unsigned long key) {
3939
}
4040
# endif
4141

42-
static inline int has_crc32_insn() {
42+
static inline int has_crc32_insn(void) {
4343
/* Only go through the runtime detection once. */
4444
static int res = -1;
4545
if (res != -1)

0 commit comments

Comments
 (0)