summaryrefslogtreecommitdiff
path: root/trees.h
diff options
context:
space:
mode:
authorMika Lindqvist <postmaster@raasu.org>2015-11-22 17:15:58 +0200
committerHans Kristian Rosbach <hk-git@circlestorm.org>2017-01-30 10:35:05 +0100
commit631817cce8dca45d6f725da143ab5fa580a9d5b0 (patch)
tree564f94aba9af7df1274522b5b7755e669428d69d /trees.h
parent343c4c549107d31f6eeabfb4b31bec4502a2ea0e (diff)
local -> static
* local -> static * Normalize and cleanup line-endings * Fix warnings under Visual Studio. * Whitespace cleanup *** This patch has been edited to merge cleanly and to exclude type changes. Based on 8d7a7c3b82c6e38734bd504dac800b148ab410d0 "Type Cleanup"
Diffstat (limited to 'trees.h')
-rw-r--r--trees.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/trees.h b/trees.h
index debfbdd..6fc1c84 100644
--- a/trees.h
+++ b/trees.h
@@ -64,7 +64,7 @@ ZLIB_INTERNAL const ct_data static_ltree[L_CODES+2] = {
{{163},{ 8}}, {{ 99},{ 8}}, {{227},{ 8}}
};
-local const ct_data static_dtree[D_CODES] = {
+static const ct_data static_dtree[D_CODES] = {
{{ 0},{ 5}}, {{16},{ 5}}, {{ 8},{ 5}}, {{24},{ 5}}, {{ 4},{ 5}},
{{20},{ 5}}, {{12},{ 5}}, {{28},{ 5}}, {{ 2},{ 5}}, {{18},{ 5}},
{{10},{ 5}}, {{26},{ 5}}, {{ 6},{ 5}}, {{22},{ 5}}, {{14},{ 5}},
@@ -118,12 +118,12 @@ const unsigned char ZLIB_INTERNAL _length_code[MAX_MATCH-MIN_MATCH+1]= {
27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 28
};
-local const int base_length[LENGTH_CODES] = {
+static const int base_length[LENGTH_CODES] = {
0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 12, 14, 16, 20, 24, 28, 32, 40, 48, 56,
64, 80, 96, 112, 128, 160, 192, 224, 0
};
-local const int base_dist[D_CODES] = {
+static const int base_dist[D_CODES] = {
0, 1, 2, 3, 4, 6, 8, 12, 16, 24,
32, 48, 64, 96, 128, 192, 256, 384, 512, 768,
1024, 1536, 2048, 3072, 4096, 6144, 8192, 12288, 16384, 24576