From 201ab6433e75875ec50c32d55b65ec503613e47f Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Mon, 15 Aug 2016 14:22:31 -0600 Subject: [PATCH] gfio: fix link error Fixes: a89ba4b12939 ("Fixup correct sparse warnings") Signed-off-by: Jens Axboe --- client.c | 6 +++--- client.h | 4 ++++ gclient.c | 4 ---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/client.c b/client.c index 228a0dbf..d502a4b3 100644 --- a/client.c +++ b/client.c @@ -55,9 +55,9 @@ static FLIST_HEAD(eta_list); static FLIST_HEAD(arg_list); -static struct thread_stat client_ts; -static struct group_run_stats client_gs; -static int sum_stat_clients; +struct thread_stat client_ts; +struct group_run_stats client_gs; +int sum_stat_clients; static int sum_stat_nr; static struct json_object *root = NULL; diff --git a/client.h b/client.h index ddacf785..c59b89b5 100644 --- a/client.h +++ b/client.h @@ -145,5 +145,9 @@ enum { FIO_CLIENT_TYPE_GUI = 2, }; +extern int sum_stat_clients; +extern struct thread_stat client_ts; +extern struct group_run_stats client_gs; + #endif diff --git a/gclient.c b/gclient.c index 9c324746..84bb6a4c 100644 --- a/gclient.c +++ b/gclient.c @@ -280,10 +280,6 @@ static void gfio_disk_util_op(struct fio_client *client, struct fio_net_cmd *cmd gdk_threads_leave(); } -extern int sum_stat_clients; -extern struct thread_stat client_ts; -extern struct group_run_stats client_gs; - static int sum_stat_nr; static void gfio_thread_status_op(struct fio_client *client, -- 2.25.1