summaryrefslogtreecommitdiff
path: root/http-fetch.c
diff options
context:
space:
mode:
authorPeter Hagervall <hager@cs.umu.se>2005-11-08 22:18:31 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-11-09 05:33:32 (GMT)
commitf4f440a039587c14ca29a8fe127b4d5273eacafc (patch)
tree184d13c15847b10df004cc37b72889c4050930a3 /http-fetch.c
parent61f81518a2372dd78fa03da2b3d62173c3268ee7 (diff)
downloadgit-f4f440a039587c14ca29a8fe127b4d5273eacafc.zip
git-f4f440a039587c14ca29a8fe127b4d5273eacafc.tar.gz
git-f4f440a039587c14ca29a8fe127b4d5273eacafc.tar.bz2
sparse fixes for http-{fetch,push}.c
Make a bunch of needlessly global functions static, and replace two K&R-style declarations. Signed-off-by: Peter Hagervall <hager@cs.umu.se> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'http-fetch.c')
-rw-r--r--http-fetch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/http-fetch.c b/http-fetch.c
index ea8af1b..88b74b4 100644
--- a/http-fetch.c
+++ b/http-fetch.c
@@ -569,7 +569,7 @@ static void release_request(struct transfer_request *request)
}
#ifdef USE_CURL_MULTI
-void process_curl_messages(void)
+static void process_curl_messages(void)
{
int num_messages;
struct active_request_slot *slot;
@@ -625,7 +625,7 @@ void process_curl_messages(void)
}
}
-void process_request_queue(void)
+static void process_request_queue(void)
{
struct transfer_request *request = request_queue_head;
struct active_request_slot *slot = active_queue_head;