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: Tycho Andersen <tycho.andersen@canonical.com>
This commit is contained in:
Tycho Andersen 2016-03-10 10:54:19 -07:00
parent ef37205707
commit 9451eeffb0
2 changed files with 1 additions and 3 deletions

View File

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

View File

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