Commit 9ee6f877 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

parasite: Make parasite_args helper global

Will need it in tty layer.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 848215b6
......@@ -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;
......
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