From b04d42ec9ebc67b996615e6e5b52e0388778074b Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Tue, 14 Jun 2016 12:41:09 -0400 Subject: [PATCH] Clean-up: move mi_writer declaration with other declarations MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau --- src/bin/lttng/commands/save.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/bin/lttng/commands/save.c b/src/bin/lttng/commands/save.c index fe051966c..5e4561546 100644 --- a/src/bin/lttng/commands/save.c +++ b/src/bin/lttng/commands/save.c @@ -31,6 +31,7 @@ static char *opt_output_path; static int opt_force; static int opt_save_all; +static struct mi_writer *writer; enum { OPT_HELP = 1, @@ -49,8 +50,6 @@ static struct poptOption save_opts[] = { {0, 0, 0, 0, 0, 0, 0} }; -static struct mi_writer *writer; - static int mi_partial_session(const char *session_name) { int ret; -- 2.34.1