]> git.proxmox.com Git - mirror_lxc.git/commitdiff
criu: make exec_criu static
authorTycho Andersen <tycho.andersen@canonical.com>
Thu, 10 Mar 2016 17:54:19 +0000 (10:54 -0700)
committerTycho Andersen <tycho.andersen@canonical.com>
Thu, 10 Mar 2016 19:01:34 +0000 (12:01 -0700)
This is no longer needed outside of criu.c with the ->migrate API call, so
let's mark it that way.

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
src/lxc/criu.c
src/lxc/criu.h

index 25e8d70827142fe788c6788764fd59d2c4f24498..b4ebf420b52bc3fc050cb43fc1687fec6487fcb9 100644 (file)
@@ -47,7 +47,7 @@
 
 lxc_log_define(lxc_criu, lxc);
 
-void exec_criu(struct lxc_handler *handler, struct criu_opts *opts)
+static void exec_criu(struct criu_opts *opts)
 {
        char **argv, log[PATH_MAX];
        int static_args = 22, argc = 0, i, ret;
index 75e63816dbb6e5eb7150c88dfef2b1cd6a03f4da..ed6dc8141cd45f28fb644f958e5f1e09ce51cb5d 100644 (file)
@@ -58,8 +58,6 @@ struct criu_opts {
        const char *cgroup_path;
 };
 
-void exec_criu(struct lxc_handler *handler, struct criu_opts *opts);
-
 /* Check and make sure the container has a configuration that we know CRIU can
  * dump. */
 bool criu_ok(struct lxc_container *c);