Added some more '/* getopt not needed */' lines.
[oweals/busybox.git] / gunzip.c
index 48a46083b71895edad731c14373be9f41f8560d1..8100003ec29c03de440d96f5d984f0445d959dcd 100644 (file)
--- a/gunzip.c
+++ b/gunzip.c
@@ -57,7 +57,6 @@ static char *license_msg[] = {
 };
 #endif
 
-#include "busybox.h"
 #include <getopt.h>
 #include <ctype.h>
 #include <sys/types.h>
@@ -71,6 +70,7 @@ static char *license_msg[] = {
 #include <stdlib.h>
 #include <time.h>
 #include <dirent.h>
+#include "busybox.h"
 #define BB_DECLARE_EXTERN
 #define bb_need_memory_exhausted
 #define bb_need_name_too_long
@@ -1250,7 +1250,7 @@ int gunzip_main(int argc, char **argv)
                                force = 1;
                                break;
                        default:
-                               usage(gunzip_usage);
+                               show_usage();
                        }
                }
        }
@@ -1275,7 +1275,7 @@ int gunzip_main(int argc, char **argv)
        } else {
                /* Open up the input file */
                if (argc <= 0)
-                       usage(gunzip_usage);
+                       show_usage();
                if (strlen(*argv) > MAX_PATH_LEN) {
                        error_msg(name_too_long);
                        exit(WARNING);