lpr: add more accurate comments
[oweals/busybox.git] / networking / ftpgetput.c
index de11f912ed9b783a6ee76c9be21e28f836b05b8c..a1ee054263cc79d6e89480cf56291d18392213a9 100644 (file)
@@ -13,7 +13,6 @@
  * 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 {
@@ -72,7 +71,7 @@ static int ftpcmd(const char *s1, const char *s2, FILE *stream, char *buf)
 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)
@@ -297,7 +296,7 @@ static const char ftpgetput_longopts[] ALIGN1 =
 #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;