Commit cb74aa3e authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

files: Drop redundant declarations from files.h

These are declared in files-reg.h, so get rid of
them and add files-reg.h inclusion where needed.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 16c7adec
......@@ -34,6 +34,7 @@
#include "sockets.h"
#include "lock.h"
#include "files.h"
#include "files-reg.h"
#include "pipes.h"
#include "sk-inet.h"
#include "eventfd.h"
......
......@@ -15,6 +15,7 @@
#include "crtools.h"
#include "files.h"
#include "files-reg.h"
#include "image.h"
#include "list.h"
#include "util.h"
......
......@@ -68,7 +68,6 @@ extern int restore_fown(int fd, fown_t *fown);
int rst_file_params(int fd, fown_t *fown, int flags);
void show_saved_files(void);
extern int collect_reg_files(void);
struct pstree_item;
extern int prepare_fds(struct pstree_item *);
struct rst_info;
......@@ -76,11 +75,8 @@ extern int prepare_fd_pid(int pid, struct rst_info *);
extern int prepare_shared_fdinfo(void);
extern int get_filemap_fd(int pid, struct vma_entry *vma_entry);
extern int prepare_fs(int pid);
extern int open_reg_by_id(u32 id);
int set_fd_flags(int fd, int flags);
extern int self_exe_fd;
void clear_ghost_files(void);
#endif /* FILES_H_ */
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