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 @@
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;
......
......@@ -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);
......
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