Clean-up: move mi_writer declaration with other declarations
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 14 Jun 2016 16:41:09 +0000 (12:41 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 14 Jun 2016 16:41:09 +0000 (12:41 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
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.025728 seconds and 4 git commands to generate.