From 78c1111eacdb594e0488d5adc508091fc2a3af88 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Wed, 9 Jan 2013 11:46:01 +0100 Subject: [PATCH] Fix variable type warning Bruce reports: With 2.0.13 on FreeBSD there's also a warning from client.c: client.c:24:18: warning: field 'eta' with variable sized type 'struct jobs_eta' not at the end of a struct or class is a GNU extension [-Wgnu] struct jobs_eta eta; Re-order ->eta and ->pending. Signed-off-by: Jens Axboe --- client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.c b/client.c index a4839130..fd67079c 100644 --- a/client.c +++ b/client.c @@ -21,8 +21,8 @@ #include "hash.h" struct client_eta { - struct jobs_eta eta; unsigned int pending; + struct jobs_eta eta; }; struct fio_client { -- 2.25.1