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

@ -766,7 +766,7 @@ malloc_ncpus(void) {
* Since otherwise tricky things is possible with percpu arenas in use.
*/
static bool
malloc_cpu_count_is_deterministic()
malloc_cpu_count_is_deterministic(void)
{
#ifdef _WIN32
return true;
@ -1807,7 +1807,7 @@ malloc_init_hard_needed(void) {
}
static bool
malloc_init_hard_a0_locked() {
malloc_init_hard_a0_locked(void) {
malloc_initializer = INITIALIZER;
JEMALLOC_DIAGNOSTIC_PUSH