From 9451eeffb0688b801034d963c455c8b31ccbf28c Mon Sep 17 00:00:00 2001 From: Tycho Andersen Date: Thu, 10 Mar 2016 10:54:19 -0700 Subject: [PATCH] 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 --- src/lxc/criu.c | 2 +- src/lxc/criu.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) 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); -- 2.39.2