aboutsummaryrefslogtreecommitdiff
path: root/trees.c
diff options
context:
space:
mode:
Diffstat (limited to 'trees.c')
-rw-r--r--trees.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/trees.c b/trees.c
index 1a6e997..423340c 100644
--- a/trees.c
+++ b/trees.c
@@ -382,7 +382,7 @@ void gen_trees_header()
382/* =========================================================================== 382/* ===========================================================================
383 * Initialize the tree data structures for a new zlib stream. 383 * Initialize the tree data structures for a new zlib stream.
384 */ 384 */
385void _tr_init(s) 385void ZLIB_INTERNAL _tr_init(s)
386 deflate_state *s; 386 deflate_state *s;
387{ 387{
388 tr_static_init(); 388 tr_static_init();
@@ -867,7 +867,7 @@ local void send_all_trees(s, lcodes, dcodes, blcodes)
867/* =========================================================================== 867/* ===========================================================================
868 * Send a stored block 868 * Send a stored block
869 */ 869 */
870void _tr_stored_block(s, buf, stored_len, last) 870void ZLIB_INTERNAL _tr_stored_block(s, buf, stored_len, last)
871 deflate_state *s; 871 deflate_state *s;
872 charf *buf; /* input block */ 872 charf *buf; /* input block */
873 ulg stored_len; /* length of input block */ 873 ulg stored_len; /* length of input block */
@@ -892,7 +892,7 @@ void _tr_stored_block(s, buf, stored_len, last)
892 * To simplify the code, we assume the worst case of last real code encoded 892 * To simplify the code, we assume the worst case of last real code encoded
893 * on one bit only. 893 * on one bit only.
894 */ 894 */
895void _tr_align(s) 895void ZLIB_INTERNAL _tr_align(s)
896 deflate_state *s; 896 deflate_state *s;
897{ 897{
898 send_bits(s, STATIC_TREES<<1, 3); 898 send_bits(s, STATIC_TREES<<1, 3);
@@ -921,7 +921,7 @@ void _tr_align(s)
921 * Determine the best encoding for the current block: dynamic trees, static 921 * Determine the best encoding for the current block: dynamic trees, static
922 * trees or store, and output the encoded block to the zip file. 922 * trees or store, and output the encoded block to the zip file.
923 */ 923 */
924void _tr_flush_block(s, buf, stored_len, last) 924void ZLIB_INTERNAL _tr_flush_block(s, buf, stored_len, last)
925 deflate_state *s; 925 deflate_state *s;
926 charf *buf; /* input block, or NULL if too old */ 926 charf *buf; /* input block, or NULL if too old */
927 ulg stored_len; /* length of input block */ 927 ulg stored_len; /* length of input block */
@@ -1022,7 +1022,7 @@ void _tr_flush_block(s, buf, stored_len, last)
1022 * Save the match info and tally the frequency counts. Return true if 1022 * Save the match info and tally the frequency counts. Return true if
1023 * the current block must be flushed. 1023 * the current block must be flushed.
1024 */ 1024 */
1025int _tr_tally (s, dist, lc) 1025int ZLIB_INTERNAL _tr_tally (s, dist, lc)
1026 deflate_state *s; 1026 deflate_state *s;
1027 unsigned dist; /* distance of matched string */ 1027 unsigned dist; /* distance of matched string */
1028 unsigned lc; /* match length-MIN_MATCH or unmatched char (if dist==0) */ 1028 unsigned lc; /* match length-MIN_MATCH or unmatched char (if dist==0) */