path: root/http.h
diff options
authorJunio C Hamano <>2015-01-14 23:40:46 (GMT)
committerJunio C Hamano <>2015-01-15 19:00:52 (GMT)
commitb90a3d7b3275fdb23184dce7afc2aaeaaafb8886 (patch)
treeccce82b00889aa5edc5726facd556f114867787b /http.h
parent563d4e59bd167fe2eecc5480e3841d878b1c8c2b (diff)
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 <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'http.h')
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