ANSI
[unix-history] / usr / src / usr.bin / window / compress.c
index dbaf085..4acefa2 100644 (file)
@@ -2,11 +2,14 @@
  * Copyright (c) 1989 Regents of the University of California.
  * All rights reserved.
  *
  * Copyright (c) 1989 Regents of the University of California.
  * All rights reserved.
  *
+ * This code is derived from software contributed to Berkeley by
+ * Edward Wang at The University of California, Berkeley.
+ *
  * %sccs.include.redist.c%
  */
 
 #ifndef lint
  * %sccs.include.redist.c%
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)compress.c 3.4 (Berkeley) %G%";
+static char sccsid[] = "@(#)compress.c 3.6 (Berkeley) %G%";
 #endif /* not lint */
 
 #include "ww.h"
 #endif /* not lint */
 
 #include "ww.h"
@@ -618,9 +621,9 @@ cc_compress_phase1(output, tokens, ntoken, flag)
        register struct cc **output;
        struct cc **tokens;
 {
        register struct cc **output;
        struct cc **tokens;
 {
-       register int i = 0;
        register struct cc **pp;
 #ifdef STATS
        register struct cc **pp;
 #ifdef STATS
+       register int i = 0;
        int nt = 0, cc = 0, nc = 0;
 #endif
 
        int nt = 0, cc = 0, nc = 0;
 #endif