summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-06-08 22:00:15 +0200
committerJim Meyering <meyering@redhat.com>2011-06-08 22:00:15 +0200
commit579be3f041bab33171d65f61afc126e357dacd50 (patch)
tree6c05980aa3150c39395dff5ebc78ec7dfef8c8c3
parent352a2820942a17273bc230a0658f184f4a8cddb7 (diff)
downloadgzip-579be3f041bab33171d65f61afc126e357dacd50.tar.gz
build: avoid link failure: this time on i686 linux
* deflate.c (good_match): Must not be static, since it may be used from lib/match.c.
-rw-r--r--deflate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/deflate.c b/deflate.c
index c4a7648..b1fafde 100644
--- a/deflate.c
+++ b/deflate.c
@@ -209,7 +209,7 @@ local unsigned int max_lazy_match;
local int compr_level;
/* compression level (1..9) */
-static unsigned good_match;
+unsigned good_match;
/* Use a faster search when the previous match is longer than this */