mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-09 13:11:54 +00:00
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:
parent
ef37205707
commit
9451eeffb0
@ -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 {
|
|||||||
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);
|
||||||
|
Loading…
Reference in New Issue
Block a user