summaryrefslogtreecommitdiff
path: root/src/wc.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1993-05-07 03:09:55 +0000
committerJim Meyering <jim@meyering.net>1993-05-07 03:09:55 +0000
commit9a96f7c461a5c7c53639d3f84bd446a6959aa1a9 (patch)
treedf4468282d2a175bdfabcb9001f30b18f9686329 /src/wc.c
parentf7999d7584ad787f4e7432b7ad76cc3486bc7b0b (diff)
downloadcoreutils-9a96f7c461a5c7c53639d3f84bd446a6959aa1a9.tar.xz
merge with 1.5
Diffstat (limited to 'src/wc.c')
-rw-r--r--src/wc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/wc.c b/src/wc.c
index 678e179ae..22aa53333 100644
--- a/src/wc.c
+++ b/src/wc.c
@@ -234,23 +234,23 @@ wc (fd, file)
}
static void
-write_counts (lc, wc, cc, file)
- unsigned long lc, wc, cc;
+write_counts (lines, words, chars, file)
+ unsigned long lines, words, chars;
char *file;
{
if (print_lines)
- printf ("%7lu", lc);
+ printf ("%7lu", lines);
if (print_words)
{
if (print_lines)
putchar (' ');
- printf ("%7lu", wc);
+ printf ("%7lu", words);
}
if (print_chars)
{
if (print_lines || print_words)
putchar (' ');
- printf ("%7lu", cc);
+ printf ("%7lu", chars);
}
if (*file)
printf (" %s", file);