[CRIU] [PATCH 4/8] parasite: Add missing 'void' in function declarations

Cyrill Gorcunov gorcunov at openvz.org
Tue Feb 21 15:22:14 EST 2012


Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 parasite.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/parasite.c b/parasite.c
index 544376f..50fcbf7 100644
--- a/parasite.c
+++ b/parasite.c
@@ -401,13 +401,13 @@ static int init(struct parasite_init_args *args)
 	return ret;
 }
 
-static int set_logfd()
+static int set_logfd(void)
 {
 	logfd = recv_fd(tsock);
 	return logfd;
 }
 
-static int fini()
+static int fini(void)
 {
 	if (reset_blocked == 1)
 		sys_sigprocmask(SIG_SETMASK, &old_blocked, NULL);
-- 
1.7.7.6



More information about the CRIU mailing list