Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
criu
Project
Project
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
zhul
criu
Commits
8f691c40
Commit
8f691c40
authored
Dec 30, 2014
by
Pavel Emelyanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fd: Mark inherit_fd_lookup_fd static
Signed-off-by:
Pavel Emelyanov
<
xemul@parallels.com
>
parent
6d6db9e1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
files.c
files.c
+3
-1
files.h
include/files.h
+0
-1
No files found.
files.c
View file @
8f691c40
...
@@ -930,6 +930,8 @@ static int open_fdinfos(int pid, struct list_head *list, int state)
...
@@ -930,6 +930,8 @@ static int open_fdinfos(int pid, struct list_head *list, int state)
return
ret
;
return
ret
;
}
}
static
struct
inherit_fd
*
inherit_fd_lookup_fd
(
int
fd
,
const
char
*
caller
);
int
close_old_fds
(
struct
pstree_item
*
me
)
int
close_old_fds
(
struct
pstree_item
*
me
)
{
{
DIR
*
dir
;
DIR
*
dir
;
...
@@ -1364,7 +1366,7 @@ int inherit_fd_lookup_id(char *id)
...
@@ -1364,7 +1366,7 @@ int inherit_fd_lookup_id(char *id)
/*
/*
* Look up the inherit fd list by a file descriptor.
* Look up the inherit fd list by a file descriptor.
*/
*/
struct
inherit_fd
*
inherit_fd_lookup_fd
(
int
fd
,
const
char
*
caller
)
st
atic
st
ruct
inherit_fd
*
inherit_fd_lookup_fd
(
int
fd
,
const
char
*
caller
)
{
{
struct
inherit_fd
*
ret
;
struct
inherit_fd
*
ret
;
struct
inherit_fd
*
inh
;
struct
inherit_fd
*
inh
;
...
...
include/files.h
View file @
8f691c40
...
@@ -171,7 +171,6 @@ extern int dump_unsupp_fd(struct fd_parms *p, int lfd,
...
@@ -171,7 +171,6 @@ extern int dump_unsupp_fd(struct fd_parms *p, int lfd,
extern
int
inherit_fd_add
(
char
*
optarg
);
extern
int
inherit_fd_add
(
char
*
optarg
);
extern
void
inherit_fd_log
(
void
);
extern
void
inherit_fd_log
(
void
);
extern
int
inherit_fd_lookup_id
(
char
*
id
);
extern
int
inherit_fd_lookup_id
(
char
*
id
);
extern
struct
inherit_fd
*
inherit_fd_lookup_fd
(
int
fd
,
const
char
*
caller
);
extern
int
inherit_fd_resolve_clash
(
int
fd
);
extern
int
inherit_fd_resolve_clash
(
int
fd
);
extern
int
inherit_fd_fini
(
void
);
extern
int
inherit_fd_fini
(
void
);
...
...
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