From: Amine Khaldi Date: Mon, 25 Dec 2017 19:25:38 +0000 (+0100) Subject: [FTP] lostpeer() is declared and defined with a void return type. #179 X-Git-Tag: 0.4.9-dev~554 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=018ba0f72ee3828a5a573bad9cfbc3381219841f [FTP] lostpeer() is declared and defined with a void return type. #179 --- diff --git a/base/applications/network/ftp/ftp.c b/base/applications/network/ftp/ftp.c index 910506827cf..7550ecd30b5 100644 --- a/base/applications/network/ftp/ftp.c +++ b/base/applications/network/ftp/ftp.c @@ -73,7 +73,11 @@ int ptflag = 0; int allbinary; struct sockaddr_in myctladdr; uid_t getuid(); +#ifdef __REACTOS__ +void lostpeer(void); +#else sig_t lostpeer(); +#endif off_t restart_point = 0; SOCKET cin, cout;