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;