find: improve usage text (Natanael Copa <natanael.copa@gmail.com>)
[oweals/busybox.git] / coreutils / wc.c
index 973929ebeb765caec76eedfb272bd616b1ee3e91..926b3ac19eaf1b2937420a2572197687bdf76a7f 100644 (file)
@@ -68,6 +68,7 @@ enum {
        WC_LENGTH       = 3
 };
 
+int wc_main(int argc, char **argv);
 int wc_main(int argc, char **argv)
 {
        FILE *fp;
@@ -81,8 +82,8 @@ int wc_main(int argc, char **argv)
        unsigned u;
        int num_files = 0;
        int c;
-       char status = EXIT_SUCCESS;
-       char in_word;
+       smallint status = EXIT_SUCCESS;
+       smallint in_word;
        unsigned print_type;
 
        print_type = getopt32(argc, argv, "lwcL");