summaryrefslogtreecommitdiff
path: root/http.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-01-14 23:40:46 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-01-15 19:00:52 (GMT)
commitb90a3d7b3275fdb23184dce7afc2aaeaaafb8886 (patch)
treeccce82b00889aa5edc5726facd556f114867787b /http.h
parent563d4e59bd167fe2eecc5480e3841d878b1c8c2b (diff)
downloadgit-b90a3d7b3275fdb23184dce7afc2aaeaaafb8886.zip
git-b90a3d7b3275fdb23184dce7afc2aaeaaafb8886.tar.gz
git-b90a3d7b3275fdb23184dce7afc2aaeaaafb8886.tar.bz2
http.c: make finish_active_slot() and handle_curl_result() static
They used to be used directly by remote-curl.c for the smart-http protocol. But they got wrapped by run_one_slot() in beed336 (http: never use curl_easy_perform, 2014-02-18). Any future users are expected to follow that route. Reviewed-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'http.h')
-rw-r--r--http.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/http.h b/http.h
index 473179b..49afe39 100644
--- a/http.h
+++ b/http.h
@@ -85,9 +85,7 @@ extern curlioerr ioctl_buffer(CURL *handle, int cmd, void *clientp);
extern struct active_request_slot *get_active_slot(void);
extern int start_active_slot(struct active_request_slot *slot);
extern void run_active_slot(struct active_request_slot *slot);
-extern void finish_active_slot(struct active_request_slot *slot);
extern void finish_all_active_slots(void);
-extern int handle_curl_result(struct slot_results *results);
/*
* This will run one slot to completion in a blocking manner, similar to how