mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-14 01:39:59 +00:00
c/r: make local function static
This is a minimal commit which makes the function 'do_restore()' static as it is not used anywhere else in the code. This also removes a trailing space my editor complained about. Signed-off-by: Adrian Reber <areber@redhat.com>
This commit is contained in:
parent
41a8036745
commit
c33b0338fa
@ -582,7 +582,7 @@ out_unlock:
|
||||
|
||||
// do_restore never returns, the calling process is used as the
|
||||
// monitor process. do_restore calls exit() if it fails.
|
||||
void do_restore(struct lxc_container *c, int status_pipe, struct migrate_opts *opts, char *criu_version)
|
||||
static void do_restore(struct lxc_container *c, int status_pipe, struct migrate_opts *opts, char *criu_version)
|
||||
{
|
||||
pid_t pid;
|
||||
char pidfile[L_tmpnam];
|
||||
|
Loading…
Reference in New Issue
Block a user