summaryrefslogtreecommitdiff
path: root/trees.h
diff options
context:
space:
mode:
authorNathan Moinvaziri <nathan@nathanm.com>2019-07-18 04:21:13 -0700
committerHans Kristian Rosbach <hk-github@circlestorm.org>2019-07-18 13:21:13 +0200
commitf06c71f9817700eccb507f54249a8c52335bf693 (patch)
tree830aa316289d6637d3ec024ea5da78a23327267e /trees.h
parentd746d233c1dc70e0717877bccf8d9dc099d056d5 (diff)
Add zng_ prefix to internal functions to avoid linking conflicts with zlib. (#363)
Diffstat (limited to 'trees.h')
-rw-r--r--trees.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/trees.h b/trees.h
index 6fc1c84..d9300c6 100644
--- a/trees.h
+++ b/trees.h
@@ -73,7 +73,7 @@ static const ct_data static_dtree[D_CODES] = {
{{19},{ 5}}, {{11},{ 5}}, {{27},{ 5}}, {{ 7},{ 5}}, {{23},{ 5}}
};
-const unsigned char ZLIB_INTERNAL _dist_code[DIST_CODE_LEN] = {
+const unsigned char ZLIB_INTERNAL zng_dist_code[DIST_CODE_LEN] = {
0, 1, 2, 3, 4, 4, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7, 8, 8, 8, 8,
8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 10, 10, 10,
10, 10, 10, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
@@ -102,7 +102,7 @@ const unsigned char ZLIB_INTERNAL _dist_code[DIST_CODE_LEN] = {
29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29
};
-const unsigned char ZLIB_INTERNAL _length_code[MAX_MATCH-MIN_MATCH+1]= {
+const unsigned char ZLIB_INTERNAL zng_length_code[MAX_MATCH-MIN_MATCH+1]= {
0, 1, 2, 3, 4, 5, 6, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 12, 12,
13, 13, 13, 13, 14, 14, 14, 14, 15, 15, 15, 15, 16, 16, 16, 16, 16, 16, 16, 16,
17, 17, 17, 17, 17, 17, 17, 17, 18, 18, 18, 18, 18, 18, 18, 18, 19, 19, 19, 19,