* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
*/
-#include <getopt.h>
#include "libbb.h"
typedef struct ftp_host_info_s {
static int xconnect_ftpdata(ftp_host_info_t *server, char *buf)
{
char *buf_ptr;
- unsigned short port_num;
+ unsigned port_num;
/* Response is "NNN garbageN1,N2,N3,N4,P1,P2[)garbage]
* Server's IP is N1.N2.N3.N4 (we ignore it)
#endif
int ftpgetput_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
-int ftpgetput_main(int argc, char **argv)
+int ftpgetput_main(int argc ATTRIBUTE_UNUSED, char **argv)
{
/* content-length of the file */
unsigned opt;