gz_open and gz_close were left in, even when BB_FEATURE_TAR_GZIP was disabled.
[oweals/busybox.git] / wc.c
diff --git a/wc.c b/wc.c
index f2d33d6f355f2c1155c273f5f2c360cf7b0a30eb..695e7e7d4e4b765b1954d5ecb5d9ea11f1128a10 100644 (file)
--- a/wc.c
+++ b/wc.c
 
 #include <stdio.h>
 #include <getopt.h>
+#include <string.h>
 #include <stdlib.h>
 #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 = "";