[CRIU] [PATCH 1/4] x86: Mark arch_task_compatible static
Pavel Emelyanov
xemul at virtuozzo.com
Sun Oct 30 00:36:50 PDT 2016
Signed-off-by: Pavel Emelyanov <xemul at virtuozzo.com>
---
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);
--
2.5.0
More information about the CRIU
mailing list