From: Christian Brauner Date: Fri, 12 Jan 2018 15:30:38 +0000 (+0100) Subject: tools: move lxc-unfreeze to API symbols only X-Git-Tag: lxc-3.0.0.beta1~36^2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81bba32eda50697d8d57b557bc378d1ea41d27bb;p=thirdparty%2Flxc.git tools: move lxc-unfreeze to API symbols only Closes #2073. Signed-off-by: Christian Brauner --- diff --git a/src/lxc/tools/lxc_unfreeze.c b/src/lxc/tools/lxc_unfreeze.c index 5027d28e6..f12b5d57a 100644 --- a/src/lxc/tools/lxc_unfreeze.c +++ b/src/lxc/tools/lxc_unfreeze.c @@ -20,16 +20,18 @@ * 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 "lxc.h" -#include "log.h" #include "arguments.h" +#include "tool_utils.h" static const struct option my_longopts[] = { LXC_COMMON_OPTIONS @@ -71,7 +73,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);