summaryrefslogtreecommitdiff
path: root/zlib/trees.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-06-22 18:51:56 +0000
committerjbj <devnull@localhost>2002-06-22 18:51:56 +0000
commit05cb73a7ee762065339393057d421613866e0418 (patch)
tree533b7192c83e882aab90c337d4356735932de7f0 /zlib/trees.c
parentba41c1ccb13a7a27466470e501a0d4f30fddec40 (diff)
downloadrpm-05cb73a7ee762065339393057d421613866e0418.tar.gz
Factor bounds checking annotations into source code.
CVS patchset: 5521 CVS date: 2002/06/22 18:51:56
Diffstat (limited to 'zlib/trees.c')
-rw-r--r--zlib/trees.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/zlib/trees.c b/zlib/trees.c
index 584ee4ef2..80db721b0 100644
--- a/zlib/trees.c
+++ b/zlib/trees.c
@@ -34,7 +34,7 @@
* Addison-Wesley, 1983. ISBN 0-201-06672-6.
*/
-/* @(#) $Id$ */
+/* @(#) $Id: trees.c,v 1.8 2002/03/17 15:46:23 jbj Exp $ */
/* #define GEN_TREES_H */
@@ -747,10 +747,7 @@ local void build_tree(deflate_state * s, tree_desc * desc)
* @param tree the tree to be scanned
* @param max_code and its largest code of non zero frequency
*/
-local void scan_tree (s, tree, max_code)
- deflate_state *s;
- ct_data *tree; /* the tree to be scanned */
- int max_code; /* and its largest code of non zero frequency */
+local void scan_tree (deflate_state *s, ct_data *tree, int max_code)
{
int n; /* iterates over all tree elements */
int prevlen = -1; /* last emitted length */