[FTP] lostpeer() is declared and defined with a void return type. #179
authorAmine Khaldi <amine.khaldi@reactos.org>
Mon, 25 Dec 2017 19:25:38 +0000 (20:25 +0100)
committerAmine Khaldi <amine.khaldi@reactos.org>
Mon, 25 Dec 2017 19:25:57 +0000 (20:25 +0100)
base/applications/network/ftp/ftp.c

index 9105068..7550ecd 100644 (file)
@@ -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;