Commit fa25c39a by Tycho Andersen

lxc-checkpoint: make things static when they can be

parent f036e5ce
...@@ -121,7 +121,7 @@ Options :\n\ ...@@ -121,7 +121,7 @@ Options :\n\
.checker = my_checker, .checker = my_checker,
}; };
bool checkpoint(struct lxc_container *c) static bool checkpoint(struct lxc_container *c)
{ {
bool ret; bool ret;
...@@ -142,7 +142,7 @@ bool checkpoint(struct lxc_container *c) ...@@ -142,7 +142,7 @@ bool checkpoint(struct lxc_container *c)
return true; 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); bool ret = c->restore(c, checkpoint_dir, verbose);
if (!ret) { if (!ret) {
...@@ -153,7 +153,7 @@ bool restore_finalize(struct lxc_container *c) ...@@ -153,7 +153,7 @@ bool restore_finalize(struct lxc_container *c)
return ret; return ret;
} }
bool restore(struct lxc_container *c) static bool restore(struct lxc_container *c)
{ {
if (c->is_running(c)) { if (c->is_running(c)) {
fprintf(stderr, "%s is running, not restoring.\n", my_args.name); fprintf(stderr, "%s is running, not restoring.\n", my_args.name);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment