[1/4] x86: Mark arch_task_compatible static

Submitted by Pavel Emelianov on Oct. 30, 2016, 7:36 a.m.

Details

Message ID 5815A312.7050800@virtuozzo.com
State Superseded
Series "Don't get task regs twice"
Headers show

Commit Message

Pavel Emelianov Oct. 30, 2016, 7:36 a.m.
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
---
 criu/arch/x86/crtools.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

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);