build: avoid link failure: this time on i686 linux
authorJim Meyering <meyering@redhat.com>
Wed, 8 Jun 2011 20:00:15 +0000 (22:00 +0200)
committerJim Meyering <meyering@redhat.com>
Wed, 8 Jun 2011 20:00:15 +0000 (22:00 +0200)
* deflate.c (good_match): Must not be static, since it may
be used from lib/match.c.

deflate.c

index c4a764867a3151848cc2849bbdbe4ad666c7d6c8..b1fafde6904c596c301f428d9e24bbd046842272 100644 (file)
--- 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 */