diff --git a/src/lxc/criu.c b/src/lxc/criu.c index 25e8d7082..b4ebf420b 100644 --- a/src/lxc/criu.c +++ b/src/lxc/criu.c @@ -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; diff --git a/src/lxc/criu.h b/src/lxc/criu.h index 75e63816d..ed6dc8141 100644 --- a/src/lxc/criu.h +++ b/src/lxc/criu.h @@ -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);