[CRIU] [PATCH] check: make check_ptrace_peeksiginfo and check_sigqueuinfo as static

Andrey Vagin avagin at openvz.org
Fri Oct 10 08:11:15 PDT 2014


They are not used outside.

Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
 cr-check.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cr-check.c b/cr-check.c
index cb3747b..2ac8ea6 100644
--- a/cr-check.c
+++ b/cr-check.c
@@ -493,7 +493,7 @@ static int check_ipc(void)
 	return -1;
 }
 
-int check_sigqueuinfo()
+static int check_sigqueuinfo()
 {
 	siginfo_t info = { .si_code = 1 };
 
@@ -507,7 +507,7 @@ int check_sigqueuinfo()
 	return 0;
 }
 
-int check_ptrace_peeksiginfo()
+static int check_ptrace_peeksiginfo()
 {
 	struct ptrace_peeksiginfo_args arg;
 	siginfo_t siginfo;
-- 
1.9.3



More information about the CRIU mailing list