Skip to content

Commit fb4b946

Browse files
committed
Silence clang -Wstrict-prototypes warnings in fuzzing
1 parent 32eadf7 commit fb4b946

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/share/alloc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
#ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
6767
extern int alloc_check_threshold, alloc_check_counter;
6868

69-
static inline int alloc_check() {
69+
static inline int alloc_check(void) {
7070
if(alloc_check_threshold == INT32_MAX)
7171
return 0;
7272
else if(alloc_check_counter++ == alloc_check_threshold)

0 commit comments

Comments
 (0)