mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 05:48:05 +00:00
parasite: Make parasite_args helper global
Will need it in tty layer. Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
848215b6f1
commit
9ee6f87711
@ -22,6 +22,8 @@ struct parasite_ctl {
|
||||
int tsock; /* transport socket for transfering fds */
|
||||
};
|
||||
|
||||
extern void *parasite_args(struct parasite_ctl *ctl, int args_size);
|
||||
|
||||
struct cr_fdset;
|
||||
struct list_head;
|
||||
|
||||
|
@ -223,7 +223,7 @@ err:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static void *parasite_args(struct parasite_ctl *ctl, int args_size)
|
||||
void *parasite_args(struct parasite_ctl *ctl, int args_size)
|
||||
{
|
||||
BUG_ON(args_size > PARASITE_ARG_SIZE);
|
||||
return ctl->addr_args;
|
||||
|
Loading…
x
Reference in New Issue
Block a user