mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-22 09:58:09 +00:00
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: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
16c7adecdd
commit
cb74aa3e48
@ -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"
|
||||
|
1
files.c
1
files.c
@ -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_ */
|
||||
|
Loading…
x
Reference in New Issue
Block a user