summaryrefslogtreecommitdiff
path: root/usr.bin/col
diff options
context:
space:
mode:
authorStefan Farfeleder <stefanf@FreeBSD.org>2006-07-18 07:16:25 +0000
committerStefan Farfeleder <stefanf@FreeBSD.org>2006-07-18 07:16:25 +0000
commitae66acac87bc9f64809df8fa46ceec81731ec1be (patch)
tree3d35c4d88ff9ee236b699d235f154994042ced3b /usr.bin/col
parent080397239a233c8a883a79fbdf094e6cd57b7635 (diff)
downloadsrc-test-ae66acac87bc9f64809df8fa46ceec81731ec1be.tar.gz
src-test-ae66acac87bc9f64809df8fa46ceec81731ec1be.zip
The variables i and tot don't need to be static.
Notes
Notes: svn path=/head/; revision=160464
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 c6a8feb4fff67..8b45ba697202f 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