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

@ -1,7 +1,7 @@
#include "test/jemalloc_test.h"
static uint64_t
allocated() {
allocated(void) {
if (!config_stats) {
return 0;
}
@ -13,7 +13,7 @@ allocated() {
}
static uint64_t
deallocated() {
deallocated(void) {
if (!config_stats) {
return 0;
}