aboutsummaryrefslogtreecommitdiff
path: root/deflate.h
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2010-04-20 18:42:51 +0000
committerXin LI <delphij@FreeBSD.org>2010-04-20 18:42:51 +0000
commit20c14533dda078fcc83f6ad7f1221933f1fdd87b (patch)
treeb233f95e3f1ecb7f8e66eac5c6ed4fcbcc4684e3 /deflate.h
parent1a0a89c328dc7176c2058e08087761d0b9957ff8 (diff)
downloadsrc-20c14533dda078fcc83f6ad7f1221933f1fdd87b.tar.gz
src-20c14533dda078fcc83f6ad7f1221933f1fdd87b.zip
Vendor import of zlib 1.2.5.vendor/zlib/1.2.5
Notes
Notes: svn path=/vendor/libz/dist/; revision=206905 svn path=/vendor/libz/1.2.5/; revision=206906; tag=vendor/zlib/1.2.5
Diffstat (limited to 'deflate.h')
-rw-r--r--deflate.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/deflate.h b/deflate.h
index f53deba852b3..cbf0d1ea5d96 100644
--- a/deflate.h
+++ b/deflate.h
@@ -1,5 +1,5 @@
/* deflate.h -- internal compression state
- * Copyright (C) 1995-2009 Jean-loup Gailly
+ * Copyright (C) 1995-2010 Jean-loup Gailly
* For conditions of distribution and use, see copyright notice in zlib.h
*/
@@ -290,13 +290,13 @@ typedef struct internal_state {
memory checker errors from longest match routines */
/* in trees.c */
-void _tr_init OF((deflate_state *s));
-int _tr_tally OF((deflate_state *s, unsigned dist, unsigned lc));
-void _tr_flush_block OF((deflate_state *s, charf *buf, ulg stored_len,
- int last));
-void _tr_align OF((deflate_state *s));
-void _tr_stored_block OF((deflate_state *s, charf *buf, ulg stored_len,
- int last));
+void ZLIB_INTERNAL _tr_init OF((deflate_state *s));
+int ZLIB_INTERNAL _tr_tally OF((deflate_state *s, unsigned dist, unsigned lc));
+void ZLIB_INTERNAL _tr_flush_block OF((deflate_state *s, charf *buf,
+ ulg stored_len, int last));
+void ZLIB_INTERNAL _tr_align OF((deflate_state *s));
+void ZLIB_INTERNAL _tr_stored_block OF((deflate_state *s, charf *buf,
+ ulg stored_len, int last));
#define d_code(dist) \
((dist) < 256 ? _dist_code[dist] : _dist_code[256+((dist)>>7)])
@@ -309,11 +309,11 @@ void _tr_stored_block OF((deflate_state *s, charf *buf, ulg stored_len,
/* Inline versions of _tr_tally for speed: */
#if defined(GEN_TREES_H) || !defined(STDC)
- extern uch _length_code[];
- extern uch _dist_code[];
+ extern uch ZLIB_INTERNAL _length_code[];
+ extern uch ZLIB_INTERNAL _dist_code[];
#else
- extern const uch _length_code[];
- extern const uch _dist_code[];
+ extern const uch ZLIB_INTERNAL _length_code[];
+ extern const uch ZLIB_INTERNAL _dist_code[];
#endif
# define _tr_tally_lit(s, c, flush) \