diff options
Diffstat (limited to 'trees.c')
-rw-r--r-- | trees.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 | */ |
385 | void _tr_init(s) | 385 | void 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 | */ |
870 | void _tr_stored_block(s, buf, stored_len, last) | 870 | void 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 | */ |
895 | void _tr_align(s) | 895 | void 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 | */ |
924 | void _tr_flush_block(s, buf, stored_len, last) | 924 | void 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 | */ |
1025 | int _tr_tally (s, dist, lc) | 1025 | int 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) */ |