2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 13:58:34 +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:
Cyrill Gorcunov 2012-10-15 23:42:53 +04:00 committed by Pavel Emelyanov
parent 848215b6f1
commit 9ee6f87711
2 changed files with 3 additions and 1 deletions

View File

@ -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;

View File

@ -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;