git-zlib: move declarations for git-zlib functions from cache.h

Move functions from cache.h for zlib.c into a new header file.  Since
adding a "zlib.h" would cause issues with the real zlib, rename zlib.c
to git-zlib.c while we are at it.

Signed-off-by: Elijah Newren <newren@gmail.com>
Acked-by: Calvin Wan <calvinwan@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Elijah Newren
2023-04-11 00:41:51 -07:00
committed by Junio C Hamano
parent e93fc5d721
commit d88dbaa718
9 changed files with 39 additions and 26 deletions

View File

@ -4,6 +4,7 @@
#include "config.h"
#include "environment.h"
#include "gettext.h"
#include "git-zlib.h"
#include "hex.h"
#include "object-store.h"
#include "object.h"