From 52e4c65176f2bf7b484b5fc0fb928c9a5a26edda Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Tue, 17 Apr 2018 16:08:54 -0700 Subject: [PATCH] Declare stat_calc_lat_nu() static This was suggested by the sparse static analyzer. Signed-off-by: Bart Van Assche --- stat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stat.c b/stat.c index 7b9dd3b1..c89a7f06 100644 --- a/stat.c +++ b/stat.c @@ -362,7 +362,7 @@ static void stat_calc_lat(struct thread_stat *ts, double *dst, * To keep the terse format unaltered, add all of the ns latency * buckets to the first us latency bucket */ -void stat_calc_lat_nu(struct thread_stat *ts, double *io_u_lat_u) +static void stat_calc_lat_nu(struct thread_stat *ts, double *io_u_lat_u) { unsigned long ntotal = 0, total = ddir_rw_sum(ts->total_io_u); int i; -- 2.25.1