From 6a3ec2c51e29faeca69a378a39a84577bc416a8c Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Fri, 12 Jan 2018 16:01:10 +0100 Subject: [PATCH] tools: move lxc-snapshot to API symbols only Closes #2073. Signed-off-by: Christian Brauner --- src/lxc/tools/lxc_snapshot.c | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/src/lxc/tools/lxc_snapshot.c b/src/lxc/tools/lxc_snapshot.c index 0c0ea3ada..7c8255c2c 100644 --- a/src/lxc/tools/lxc_snapshot.c +++ b/src/lxc/tools/lxc_snapshot.c @@ -17,21 +17,20 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include "confile.h" -#include +#define _GNU_SOURCE +#include +#include #include +#include +#include +#include #include -#include #include -#include #include -#include "lxc.h" -#include "log.h" #include "arguments.h" -#include "storage.h" -#include "utils.h" +#include "tool_utils.h" static int my_parser(struct lxc_arguments *args, int c, char *arg); @@ -97,7 +96,6 @@ int main(int argc, char *argv[]) if (lxc_log_init(&log)) exit(EXIT_FAILURE); - lxc_log_options_no_override(); /* REMOVE IN LXC 3.0 */ setenv("LXC_UPDATE_CONFIG_FORMAT", "1", 0); -- 2.47.2