From b90a3d7b3275fdb23184dce7afc2aaeaaafb8886 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Wed, 14 Jan 2015 15:40:46 -0800 Subject: 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 --- http.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'http.h') diff --git a/http.h b/http.h index 473179b14d..49afe39279 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 -- cgit v1.2.3