X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=stat.c;h=509c6f02875aee1c648f9e9a432b108a6aa768c8;hb=e0c8b741108cd59ce4435082b5afd5c69a6f713e;hp=d61692342d722db10d4d6f95b76529158fc6f653;hpb=a806bf2e054ca389a56130849a4394ac9d4334b6;p=fio.git diff --git a/stat.c b/stat.c index d6169234..509c6f02 100644 --- a/stat.c +++ b/stat.c @@ -497,7 +497,8 @@ static void show_latencies(struct thread_stat *ts) show_lat_m(io_u_lat_m); } -void show_thread_status_normal(struct thread_stat *ts, struct group_run_stats *rs) +static void show_thread_status_normal(struct thread_stat *ts, + struct group_run_stats *rs) { double usr_cpu, sys_cpu; unsigned long runtime; @@ -1012,7 +1013,7 @@ struct json_object *show_thread_status(struct thread_stat *ts, if (output_format == FIO_OUTPUT_TERSE) show_thread_status_terse(ts, rs); else if (output_format == FIO_OUTPUT_JSON) - return(show_thread_status_json(ts, rs)); + return show_thread_status_json(ts, rs); else show_thread_status_normal(ts, rs); return NULL;