From: Jens Axboe Date: Wed, 9 Jan 2013 10:46:01 +0000 (+0100) Subject: Fix variable type warning X-Git-Tag: fio-2.0.14~134 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=78c1111eacdb594e0488d5adc508091fc2a3af88 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 --- 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 {