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
f29b71ce
Unverified
Commit
f29b71ce
authored
Dec 07, 2019
by
Christian Brauner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tree-wide: s/__unused/__lxc_unused/g
Signed-off-by:
Christian Brauner
<
christian.brauner@ubuntu.com
>
parent
1a4b9d44
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
compiler.h
src/lxc/compiler.h
+2
-2
log.h
src/lxc/log.h
+2
-2
start.c
src/lxc/start.c
+1
-1
No files found.
src/lxc/compiler.h
View file @
f29b71ce
...
...
@@ -47,9 +47,9 @@
/* This attribute is required to silence clang warnings */
#if defined(__GNUC__)
#define __unused __attribute__ ((unused))
#define __
lxc_
unused __attribute__ ((unused))
#else
#define __unused
#define __
lxc_
unused
#endif
#define __cgfsng_ops
...
...
src/lxc/log.h
View file @
f29b71ce
...
...
@@ -238,10 +238,10 @@ static inline void __lxc_log(const struct lxc_log_category *category,
*/
#define lxc_log_priority_define(acategory, LEVEL) \
\
__unused __attribute__ ((format (printf, 2, 3))) \
__
lxc_
unused __attribute__ ((format (printf, 2, 3))) \
static inline void LXC_##LEVEL(struct lxc_log_locinfo *, const char *, ...); \
\
__unused static inline void LXC_##LEVEL(struct lxc_log_locinfo* locinfo, \
__
lxc_
unused static inline void LXC_##LEVEL(struct lxc_log_locinfo* locinfo, \
const char* format, ...) \
{ \
if (lxc_log_priority_is_enabled(acategory, LXC_LOG_LEVEL_##LEVEL)) { \
...
...
src/lxc/start.c
View file @
f29b71ce
...
...
@@ -1104,7 +1104,7 @@ void lxc_abort(const char *name, struct lxc_handler *handler)
static
int
do_start
(
void
*
data
)
{
struct
lxc_handler
*
handler
=
data
;
__unused
__do_close_prot_errno
int
data_sock0
=
handler
->
data_sock
[
0
],
__
lxc_
unused
__do_close_prot_errno
int
data_sock0
=
handler
->
data_sock
[
0
],
data_sock1
=
handler
->
data_sock
[
1
];
__do_close_prot_errno
int
status_fd
=
-
EBADF
;
int
ret
;
...
...
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