From patchwork Sun Oct 30 07:36:50 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [1/4] x86: Mark arch_task_compatible static From: Pavel Emelyanov X-Patchwork-Id: 2319 Message-Id: <5815A312.7050800@virtuozzo.com> To: CRIU , Cyrill Gorcunov , Dmitry Safonov Date: Sun, 30 Oct 2016 10:36:50 +0300 Signed-off-by: Pavel Emelyanov --- criu/arch/x86/crtools.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/criu/arch/x86/crtools.c b/criu/arch/x86/crtools.c index 0b8055a..55b25d5 100644 --- a/criu/arch/x86/crtools.c +++ b/criu/arch/x86/crtools.c @@ -96,7 +96,7 @@ int kdat_compat_sigreturn_test(void) #endif /* CONFIG_X86_64 */ int ptrace_get_regs(pid_t pid, user_regs_struct_t *regs); -int arch_task_compatible(pid_t pid) +static int arch_task_compatible(pid_t pid) { user_regs_struct_t r; int ret = ptrace_get_regs(pid, &r);