[CRIU] [crtools-bot for Cyrill Gorcunov ] parasite: Add missing 'void' in function declarations

Cyrill Gorcunov gorcunov at openvz.org
Wed Feb 22 08:00:30 EST 2012


The commit is pushed to "master" and will appear on git://github.com/cyrillos/crtools.git
------>
commit 7d49fa58337d2ef49e384635ac8f927a5b0ce9f4
Author: Cyrill Gorcunov <gorcunov at openvz.org>
Date:   Tue Feb 21 23:15:48 2012 +0400

    parasite: Add missing 'void' in function declarations
    
    Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
    Acked-by: Pavel Emelyanov <xemul at parallels.com>
---
 parasite.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/parasite.c b/parasite.c
index e160850..f886ee8 100644
--- a/parasite.c
+++ b/parasite.c
@@ -411,13 +411,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);


More information about the CRIU mailing list