X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=wc.c;h=695e7e7d4e4b765b1954d5ecb5d9ea11f1128a10;hb=3a6da8c183142a2681a2382b63e970f457cf807b;hp=619c161a70f5eb93c4fe345034c31a1596370651;hpb=ed3ef50c233ffb1b50ea0e7382a8e60b86491009;p=oweals%2Fbusybox.git diff --git a/wc.c b/wc.c index 619c161a7..695e7e7d4 100644 --- a/wc.c +++ b/wc.c @@ -20,16 +20,17 @@ * */ -#include "busybox.h" #include #include +#include #include +#include "busybox.h" static int total_lines, total_words, total_chars, max_length; static int print_lines, print_words, print_chars, print_length; -void print_counts(int lines, int words, int chars, int length, - const char *name) +static void print_counts(int lines, int words, int chars, int length, + const char *name) { char const *space = ""; @@ -126,7 +127,7 @@ int wc_main(int argc, char **argv) print_words = 1; break; default: - usage(wc_usage); + show_usage(); } }