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
f2d998c0
Unverified
Commit
f2d998c0
authored
Jul 20, 2020
by
Christian Brauner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
error: hide unnecessary symbols
Signed-off-by:
Christian Brauner
<
christian.brauner@ubuntu.com
>
parent
7950a11e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
Makefile.am
src/lxc/Makefile.am
+1
-1
error.c
src/lxc/error.c
+1
-1
error.h
src/lxc/error.h
+3
-1
No files found.
src/lxc/Makefile.am
View file @
f2d998c0
...
@@ -518,7 +518,7 @@ if ENABLE_COMMANDS
...
@@ -518,7 +518,7 @@ if ENABLE_COMMANDS
# Binaries shipping with liblxc
# Binaries shipping with liblxc
init_lxc_SOURCES
=
cmd/lxc_init.c
\
init_lxc_SOURCES
=
cmd/lxc_init.c
\
compiler.h
\
compiler.h
\
error.h
\
error.
c error.
h
\
initutils.c initutils.h
\
initutils.c initutils.h
\
memory_utils.h
\
memory_utils.h
\
parse.c parse.h
\
parse.c parse.h
\
...
...
src/lxc/error.c
View file @
f2d998c0
...
@@ -18,7 +18,7 @@ lxc_log_define(error, lxc);
...
@@ -18,7 +18,7 @@ lxc_log_define(error, lxc);
* 128+n signal n received by the application
* 128+n signal n received by the application
* 255 lxc error
* 255 lxc error
*/
*/
extern
int
lxc_error_set_and_log
(
int
pid
,
int
status
)
int
lxc_error_set_and_log
(
int
pid
,
int
status
)
{
{
int
ret
=
0
;
int
ret
=
0
;
...
...
src/lxc/error.h
View file @
f2d998c0
...
@@ -6,6 +6,8 @@
...
@@ -6,6 +6,8 @@
#define LXC_CLONE_ERROR "Failed to clone a new set of namespaces"
#define LXC_CLONE_ERROR "Failed to clone a new set of namespaces"
#define LXC_UNPRIV_EOPNOTSUPP "the requested function %s is not currently supported with unprivileged containers"
#define LXC_UNPRIV_EOPNOTSUPP "the requested function %s is not currently supported with unprivileged containers"
extern
int
lxc_error_set_and_log
(
int
pid
,
int
status
);
#include "compiler.h"
__hidden
extern
int
lxc_error_set_and_log
(
int
pid
,
int
status
);
#endif
#endif
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