From: Jérémie Galarneau Date: Tue, 14 Jun 2016 16:41:09 +0000 (-0400) Subject: Clean-up: move mi_writer declaration with other declarations X-Git-Tag: v2.9.0-rc1~125 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=b04d42ec9ebc67b996615e6e5b52e0388778074b;p=lttng-tools.git Clean-up: move mi_writer declaration with other declarations Signed-off-by: Jérémie Galarneau --- 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;