diff mbox series

[1/4] fixup! reftable: reading/writing blocks

Message ID 20210908074557.38141-2-carenas@gmail.com (mailing list archive)
State New, archived
Headers show
Series fixup for hn/reftable | expand

Commit Message

Carlo Marcelo Arenas Belón Sept. 8, 2021, 7:45 a.m. UTC
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 mbox series

Patch

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) {