Clean-up: move mi_writer declaration with other declarations
[lttng-tools.git] / src / bin / lttng / commands / save.c
index fe051966cdc6a568046b477a223b113d0bbaac19..5e456154638846fe4e804fb917b5ee13d0b30ab8 100644 (file)
@@ -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;
This page took 0.024886 seconds and 5 git commands to generate.