Commit 9451eeff by Tycho Andersen

criu: make exec_criu static

This is no longer needed outside of criu.c with the ->migrate API call, so let's mark it that way. Signed-off-by: 's avatarTycho Andersen <tycho.andersen@canonical.com>
parent ef372057
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
lxc_log_define(lxc_criu, lxc); 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]; char **argv, log[PATH_MAX];
int static_args = 22, argc = 0, i, ret; int static_args = 22, argc = 0, i, ret;
......
...@@ -58,8 +58,6 @@ struct criu_opts { ...@@ -58,8 +58,6 @@ struct criu_opts {
const char *cgroup_path; 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 /* Check and make sure the container has a configuration that we know CRIU can
* dump. */ * dump. */
bool criu_ok(struct lxc_container *c); bool criu_ok(struct lxc_container *c);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment