Enabled -Wstrict-prototypes and fixed warnings.

This commit is contained in:
Qi Wang
2023-07-05 13:33:34 -07:00
committed by Qi Wang
parent ebd7e99f5c
commit 602edd7566
42 changed files with 82 additions and 80 deletions

View File

@@ -2,7 +2,7 @@
#include "test/sleep.h"
static void
sleep_for_background_thread_interval() {
sleep_for_background_thread_interval(void) {
/*
* The sleep interval set in our .sh file is 50ms. So it likely will
* run if we sleep for four times that.
@@ -11,7 +11,7 @@ sleep_for_background_thread_interval() {
}
static unsigned
create_arena() {
create_arena(void) {
unsigned arena_ind;
size_t sz;