From: Tycho Andersen Date: Tue, 22 Mar 2016 15:22:39 +0000 (-0600) Subject: lxc-checkpoint: make things static when they can be X-Git-Tag: lxc-2.0.0.rc13~1^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fa25c39a4465ca75a352d8d03b8ec2fb80438771;p=thirdparty%2Flxc.git lxc-checkpoint: make things static when they can be Signed-off-by: Tycho Andersen --- diff --git a/src/lxc/lxc_checkpoint.c b/src/lxc/lxc_checkpoint.c index 3e5de4a3c..7130245a7 100644 --- a/src/lxc/lxc_checkpoint.c +++ b/src/lxc/lxc_checkpoint.c @@ -121,7 +121,7 @@ Options :\n\ .checker = my_checker, }; -bool checkpoint(struct lxc_container *c) +static bool checkpoint(struct lxc_container *c) { bool ret; @@ -142,7 +142,7 @@ bool checkpoint(struct lxc_container *c) return true; } -bool restore_finalize(struct lxc_container *c) +static bool restore_finalize(struct lxc_container *c) { bool ret = c->restore(c, checkpoint_dir, verbose); if (!ret) { @@ -153,7 +153,7 @@ bool restore_finalize(struct lxc_container *c) return ret; } -bool restore(struct lxc_container *c) +static bool restore(struct lxc_container *c) { if (c->is_running(c)) { fprintf(stderr, "%s is running, not restoring.\n", my_args.name);