move the definition to "system.h" because it needs to be accessible also to the compat file. --- reftable/block.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/reftable/block.c b/reftable/block.c index eb5268dd3a..11387b260a 100644 --- a/reftable/block.c +++ b/reftable/block.c @@ -15,15 +15,6 @@ license that can be found in the LICENSE file or at #include "system.h" #include <zlib.h> -#ifdef NO_UNCOMPRESS2 -/* - * This is uncompress2, which is only available in zlib >= 1.2.9 - * (released as of early 2017) - */ -int uncompress2(Bytef *dest, uLongf *destLen, const Bytef *source, - uLong *sourceLen); -#endif - int header_size(int version) { switch (version) { -- 2.33.0.481.g26d3bed244