From 9ee6f877117b9e9f76bdfe79552ff8e18ab3fb43 Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Mon, 15 Oct 2012 23:42:53 +0400 Subject: [PATCH] parasite: Make parasite_args helper global Will need it in tty layer. Signed-off-by: Cyrill Gorcunov Signed-off-by: Pavel Emelyanov --- include/parasite-syscall.h | 2 ++ parasite-syscall.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/include/parasite-syscall.h b/include/parasite-syscall.h index 512e36700..a187310a7 100644 --- a/include/parasite-syscall.h +++ b/include/parasite-syscall.h @@ -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; diff --git a/parasite-syscall.c b/parasite-syscall.c index 8bd7c03ac..95711f2b4 100644 --- a/parasite-syscall.c +++ b/parasite-syscall.c @@ -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;