summaryrefslogtreecommitdiff
path: root/deflate.h
diff options
context:
space:
mode:
authorHans Kristian Rosbach <hk-git@circlestorm.org>2019-09-15 14:52:27 +0200
committerHans Kristian Rosbach <hk-github@circlestorm.org>2019-09-20 22:29:21 +0200
commitaaa3cc2f0bf90bcb81044096be3c79165a7a900d (patch)
treee418eda1d8ef57490a75a9b0d916c121284cb3a1 /deflate.h
parentb3be2f83d2ea87fb74a3ff06dd8de6a1a6937d71 (diff)
Split maketrees out into a separate tool
Diffstat (limited to 'deflate.h')
-rw-r--r--deflate.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/deflate.h b/deflate.h
index a47cb72..0c5f1d6 100644
--- a/deflate.h
+++ b/deflate.h
@@ -352,13 +352,8 @@ void ZLIB_INTERNAL flush_pending(PREFIX3(streamp) strm);
#ifndef ZLIB_DEBUG
/* Inline versions of _tr_tally for speed: */
-# if defined(GEN_TREES_H)
- extern unsigned char ZLIB_INTERNAL zng_length_code[];
- extern unsigned char ZLIB_INTERNAL zng_dist_code[];
-# else
- extern const unsigned char ZLIB_INTERNAL zng_length_code[];
- extern const unsigned char ZLIB_INTERNAL zng_dist_code[];
-# endif
+ extern const unsigned char ZLIB_INTERNAL zng_length_code[];
+ extern const unsigned char ZLIB_INTERNAL zng_dist_code[];
# define zng_tr_tally_lit(s, c, flush) \
{ unsigned char cc = (c); \