mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 06:15:24 +00:00
cr: Remove opts argument from cr_dump_tasks
Options are collected in global variable, no need to have them on stack. Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
@@ -223,7 +223,7 @@ static inline int fdset_fd(const struct cr_fdset *fdset, int type)
|
||||
extern struct cr_fdset *glob_fdset;
|
||||
extern struct cr_options opts;
|
||||
|
||||
int cr_dump_tasks(pid_t pid, const struct cr_options *opts);
|
||||
int cr_dump_tasks(pid_t pid);
|
||||
int cr_restore_tasks(struct cr_options *opts);
|
||||
int cr_show(struct cr_options *opts, int pid);
|
||||
int convert_to_elf(char *elf_path, int fd_core);
|
||||
|
Reference in New Issue
Block a user