summaryrefslogtreecommitdiff
path: root/wc.c
diff options
context:
space:
mode:
Diffstat (limited to 'wc.c')
-rw-r--r--wc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wc.c b/wc.c
index 5472c30..695e7e7 100644
--- a/wc.c
+++ b/wc.c
@@ -29,8 +29,8 @@
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 = "";