From: Christian Brauner Date: Fri, 12 Jan 2018 15:01:10 +0000 (+0100) Subject: tools: move lxc-snapshot to API symbols only X-Git-Tag: lxc-3.0.0.beta1~36^2~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a3ec2c51e29faeca69a378a39a84577bc416a8c;p=thirdparty%2Flxc.git tools: move lxc-snapshot to API symbols only Closes #2073. Signed-off-by: Christian Brauner --- 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);