--- embedaddon/rsync/socket.c 2013/10/14 07:51:14 1.1.1.2 +++ embedaddon/rsync/socket.c 2016/11/01 09:54:32 1.1.1.3 @@ -3,7 +3,7 @@ * * Copyright (C) 1992-2001 Andrew Tridgell * Copyright (C) 2001, 2002 Martin Pool - * Copyright (C) 2003-2013 Wayne Davison + * Copyright (C) 2003-2015 Wayne Davison * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -161,7 +161,7 @@ int try_bind_local(int s, int ai_family, int ai_sockty } /* connect() timeout handler based on alarm() */ -static RETSIGTYPE contimeout_handler(UNUSED(int val)) +static void contimeout_handler(UNUSED(int val)) { connect_timeout = -1; } @@ -529,7 +529,7 @@ int is_a_socket(int fd) } -static RETSIGTYPE sigchld_handler(UNUSED(int val)) +static void sigchld_handler(UNUSED(int val)) { #ifdef WNOHANG while (waitpid(-1, NULL, WNOHANG) > 0) {}