Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/http.h
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-04-11 10:41:51 +0300
committerJunio C Hamano <gitster@pobox.com>2023-04-11 18:52:10 +0300
commitd88dbaa71864c42df1394be25234d7c187a12f48 (patch)
tree72c743e43041d5214f0b5f7257aaef7e707c896c /http.h
parente93fc5d721738de978ef06acb62daa3df3c40625 (diff)
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>
Diffstat (limited to 'http.h')
-rw-r--r--http.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/http.h b/http.h
index 77c042706c..783b2b09b8 100644
--- a/http.h
+++ b/http.h
@@ -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>