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
ee38ab3f
Unverified
Commit
ee38ab3f
authored
Mar 09, 2020
by
Matthias Hardt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "commands_utils: indicate taking ownership of state_client_fd in"
This reverts commit
cd0dc360
. Signed-off-by:
Matthias Hardt
<
matthias.hardt@gmail.com
>
parent
cd0dc360
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
4 deletions
+1
-4
commands_utils.c
src/lxc/commands_utils.c
+1
-1
compiler.h
src/lxc/compiler.h
+0
-3
No files found.
src/lxc/commands_utils.c
View file @
ee38ab3f
...
@@ -171,7 +171,7 @@ int lxc_cmd_connect(const char *name, const char *lxcpath,
...
@@ -171,7 +171,7 @@ int lxc_cmd_connect(const char *name, const char *lxcpath,
return
client_fd
;
return
client_fd
;
}
}
int
lxc_add_state_client
(
__owns
int
state_client_fd
,
struct
lxc_handler
*
handler
,
int
lxc_add_state_client
(
int
state_client_fd
,
struct
lxc_handler
*
handler
,
lxc_state_t
states
[
MAX_STATE
])
lxc_state_t
states
[
MAX_STATE
])
{
{
__do_free
struct
lxc_state_client
*
newclient
=
NULL
;
__do_free
struct
lxc_state_client
*
newclient
=
NULL
;
...
...
src/lxc/compiler.h
View file @
ee38ab3f
...
@@ -52,9 +52,6 @@
...
@@ -52,9 +52,6 @@
#define __lxc_unused
#define __lxc_unused
#endif
#endif
/* Indicates taking ownership */
#define __owns
#define __cgfsng_ops
#define __cgfsng_ops
#endif
/* __LXC_COMPILER_H */
#endif
/* __LXC_COMPILER_H */
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