Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
fa25c39a
Commit
fa25c39a
authored
Mar 22, 2016
by
Tycho Andersen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lxc-checkpoint: make things static when they can be
Signed-off-by:
Tycho Andersen
<
tycho.andersen@canonical.com
>
parent
f036e5ce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lxc_checkpoint.c
src/lxc/lxc_checkpoint.c
+3
-3
No files found.
src/lxc/lxc_checkpoint.c
View file @
fa25c39a
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment