Commit 8b517795 authored by Kirill Tkhai's avatar Kirill Tkhai Committed by Andrei Vagin

files: Unexport collect_task_fd()

It has only one user, so unexport it.
Signed-off-by: 's avatarKirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent 6d40803e
......@@ -124,7 +124,7 @@ struct fdinfo_list_entry *find_used_fd(struct pstree_item *task, int fd)
return NULL;
}
void collect_task_fd(struct fdinfo_list_entry *new_fle, struct rst_info *ri)
static void collect_task_fd(struct fdinfo_list_entry *new_fle, struct rst_info *ri)
{
struct fdinfo_list_entry *fle;
......
......@@ -111,7 +111,6 @@ struct file_desc_ops {
};
int collect_fd(int pid, FdinfoEntry *e, struct rst_info *rst_info, bool ghost);
void collect_task_fd(struct fdinfo_list_entry *new_fle, struct rst_info *ri);
struct fdinfo_list_entry *collect_fd_to(int pid, FdinfoEntry *e,
struct rst_info *rst_info, struct file_desc *fdesc, bool fake);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment