https://git.reactos.org/?p=reactos.git;a=commitdiff;h=018ba0f72ee3828a5a573bad9cfbc3381219841f
commit 018ba0f72ee3828a5a573bad9cfbc3381219841f Author: Amine Khaldi <[email protected]> AuthorDate: Mon Dec 25 20:25:38 2017 +0100 [FTP] lostpeer() is declared and defined with a void return type. #179 --- base/applications/network/ftp/ftp.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/base/applications/network/ftp/ftp.c b/base/applications/network/ftp/ftp.c index 910506827c..7550ecd30b 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;
