From: Tomohiro Kusumi <tkusumi@xxxxxxxxxx> OpenBSD has below compiler warning due to hist_sum() being inlined. It should be fine with no inline (or move it to iolog.h with static if we somehow want to keep it inlined). iolog.c:702: warning: C99 inline functions are not supported; using GNU89 iolog.c:702: warning: to disable this warning use -fgnu89-inline or the gnu_inline function attribute Signed-off-by: Tomohiro Kusumi <tkusumi@xxxxxxxxxx> --- iolog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iolog.c b/iolog.c index 2e8da13..31d674c 100644 --- a/iolog.c +++ b/iolog.c @@ -696,7 +696,7 @@ void free_log(struct io_log *log) sfree(log); } -inline unsigned long hist_sum(int j, int stride, unsigned int *io_u_plat, +unsigned long hist_sum(int j, int stride, unsigned int *io_u_plat, unsigned int *io_u_plat_last) { unsigned long sum; -- 2.9.3 -- To unsubscribe from this list: send the line "unsubscribe fio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html