summaryrefslogtreecommitdiffstats
path: root/usr.bin/col
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2006-07-18 07:16:25 +0000
committerstefanf <stefanf@FreeBSD.org>2006-07-18 07:16:25 +0000
commitba64bc870aa708a07bfd73f22e8cd6c821331077 (patch)
tree3d35c4d88ff9ee236b699d235f154994042ced3b /usr.bin/col
parentb180846aaa1151022e093d55c11196fd16ac82b0 (diff)
downloadFreeBSD-src-ba64bc870aa708a07bfd73f22e8cd6c821331077.zip
FreeBSD-src-ba64bc870aa708a07bfd73f22e8cd6c821331077.tar.gz
The variables i and tot don't need to be static.
Diffstat (limited to 'usr.bin/col')
-rw-r--r--usr.bin/col/col.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/col/col.c b/usr.bin/col/col.c
index c6a8feb..8b45ba6 100644
--- a/usr.bin/col/col.c
+++ b/usr.bin/col/col.c
@@ -397,14 +397,14 @@ void
flush_line(LINE *l)
{
CHAR *c, *endc;
- int j, nchars, last_col, this_col;
+ int i, j, nchars, last_col, save, this_col, tot;
last_col = 0;
nchars = l->l_line_len;
if (l->l_needs_sort) {
static CHAR *sorted;
- static int count_size, *count, i, save, sorted_size, tot;
+ static int count_size, *count, sorted_size;
/*
* Do an O(n) sort on l->l_line by column being careful to
OpenPOWER on IntegriCloud