Skip to content

Commit

Permalink
tools: move lxc-freeze to API symbols only
Browse files Browse the repository at this point in the history
Closes #2073.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner committed Feb 6, 2018
1 parent 791e7a7 commit 49ac751
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/lxc/tools/lxc_freeze.c
Expand Up @@ -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 <libgen.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <unistd.h>
#include <sys/types.h>
#include <libgen.h>
#include <string.h>

#include <lxc/lxccontainer.h>

#include "lxc.h"
#include "log.h"

#include "arguments.h"

static const struct option my_longopts[] = {
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 49ac751

Please sign in to comment.