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

3
http.h
View File

@@ -1,7 +1,10 @@
#ifndef HTTP_H
#define HTTP_H
struct packed_git;
#include "cache.h"
#include "git-zlib.h"
#include <curl/curl.h>
#include <curl/easy.h>