diff options
author | stefanf <stefanf@FreeBSD.org> | 2006-07-18 07:16:25 +0000 |
---|---|---|
committer | stefanf <stefanf@FreeBSD.org> | 2006-07-18 07:16:25 +0000 |
commit | ba64bc870aa708a07bfd73f22e8cd6c821331077 (patch) | |
tree | 3d35c4d88ff9ee236b699d235f154994042ced3b | |
parent | b180846aaa1151022e093d55c11196fd16ac82b0 (diff) | |
download | FreeBSD-src-ba64bc870aa708a07bfd73f22e8cd6c821331077.zip FreeBSD-src-ba64bc870aa708a07bfd73f22e8cd6c821331077.tar.gz |
The variables i and tot don't need to be static.
-rw-r--r-- | usr.bin/col/col.c | 4 |
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 |