From 6b6ed5290f2e321939c2c61718b1d054d9593723 Mon Sep 17 00:00:00 2001 From: Greg Burd Date: Thu, 2 May 2024 08:55:38 -0400 Subject: [PATCH] fixes --- examples/soak.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/soak.c b/examples/soak.c index bb9bda1..60dd42c 100644 --- a/examples/soak.c +++ b/examples/soak.c @@ -582,7 +582,7 @@ td_histogram_t *l_span_merge; td_histogram_t *b_span_merge; void -stats_header() +stats_header(void) { printf( "timestamp,iterations,idl_cap,idl_used,idl_bytes,sm_cap,sm_used,idl_loc_p50,idl_loc_p75,idl_loc_p90,idl_loc_p99,idl_loc_p999,sm_loc_p50,sm_loc_p75,sm_loc_p90,sm_loc_p99,sm_loc_p999,idl_take_p50,idl_take_p75,idl_take_p90,idl_take_p99,idl_take_p999,sm_take_p50,sm_take_p75,sm_take_p90,sm_take_p99,sm_take_p999,idl_merge_p50,idl_merge_p75,idl_merge_p90,idl_merge_p99,idl_merge_p999,sm_merge_p50,sm_merge_p75,sm_merge_p90,sm_merge_p99,sm_merge_p999\n"); @@ -619,7 +619,7 @@ stats(size_t iterations, sparsemap_t *map, MDB_IDL list) * A "soak test" that tries to replicate behavior in LMDB for page allocation. */ int -main() +main(void) { size_t replenish = 0, iterations = 0; bool prefer_mdb_idl_location = (bool)xorshift32() % 2;