From 49ac7514cf8b1ae257418445bc6b2fe9568c7adf Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Fri, 12 Jan 2018 15:32:07 +0100 Subject: [PATCH] tools: move lxc-freeze to API symbols only Closes #2073. Signed-off-by: Christian Brauner --- src/lxc/tools/lxc_freeze.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/lxc/tools/lxc_freeze.c b/src/lxc/tools/lxc_freeze.c index aab2b6fe3b..09c21b30eb 100644 --- a/src/lxc/tools/lxc_freeze.c +++ b/src/lxc/tools/lxc_freeze.c @@ -20,17 +20,17 @@ * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ + +#define _GNU_SOURCE +#include #include +#include +#include #include #include -#include -#include #include -#include "lxc.h" -#include "log.h" - #include "arguments.h" static const struct option my_longopts[] = { @@ -72,7 +72,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);