Fix func prototype
[oweals/busybox.git] / wget.c
diff --git a/wget.c b/wget.c
index c134427e44e78700b1793651b584883e41b847f6..4b8392ba5fea9d416b14809439d78239ad72e751 100644 (file)
--- a/wget.c
+++ b/wget.c
@@ -14,7 +14,6 @@
  *
  */
 
-#include "busybox.h"
 #include <stdio.h>
 #include <errno.h>
 #include <stdlib.h>
@@ -33,6 +32,8 @@
 #include <arpa/inet.h>
 #include <netdb.h>
 
+#include "busybox.h"
+
 /* Stupid libc5 doesn't define this... */
 #ifndef timersub
 #define        timersub(a, b, result)                                                \
@@ -105,12 +106,12 @@ int wget_main(int argc, char **argv)
                        fname_out = (strcmp(optarg, "-") == 0 ? (char *)1 : optarg);
                        break;
                default:
-                       usage(wget_usage);
+                       show_usage();
                }
        }
 
        if (argc - optind != 1)
-                       usage(wget_usage);
+                       show_usage();
 
        /*
         * Use the proxy if necessary.
@@ -533,7 +534,7 @@ progressmeter(int flag)
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- *     $Id: wget.c,v 1.26 2001/02/01 16:49:30 kraai Exp $
+ *     $Id: wget.c,v 1.28 2001/02/20 06:14:08 andersen Exp $
  */