diff options
author | Daniel Gustafsson <daniel@yesql.se> | 2019-07-10 19:26:40 +0200 |
---|---|---|
committer | Daniel Gustafsson <daniel@yesql.se> | 2019-07-10 19:26:40 +0200 |
commit | 11d7fe118dc980d104a8ff2e209dec0151c56939 (patch) | |
tree | 0b37c140d4091c4cd5c12fd8492937a54a9e9fca /lib/http.h | |
parent | abfef94882128ab17b4d88376fd9d7d4e08b6818 (diff) | |
download | curl-11d7fe118dc980d104a8ff2e209dec0151c56939.tar.gz |
headers: Remove no longer exported functions
There were a leftover few prototypes of Curl_ functions that we used to
export but no longer do, this removes those prototypes and cleans up any
comments still referring to them.
Curl_write32_le(), Curl_strcpy_url(), Curl_strlen_url(), Curl_up_free()
Curl_concat_url(), Curl_detach_connnection(), Curl_http_setup_conn()
were made static in 05b100aee247bb9bec8e9a1b0166496aa4248d1c.
Curl_http_perhapsrewind() made static in 574aecee208f79d391f10d57520b3.
For the remainder, I didn't trawl the Git logs hard enough to capture
their exact time of deletion, but they were all gone: Curl_splayprint(),
Curl_http2_send_request(), Curl_global_host_cache_dtor(),
Curl_scan_cache_used(), Curl_hostcache_destroy(), Curl_second_connect(),
Curl_http_auth_stage() and Curl_close_connections().
Closes #4096
Reviewed-by: Daniel Stenberg <daniel@haxx.se>
Diffstat (limited to 'lib/http.h')
-rw-r--r-- | lib/http.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/http.h b/lib/http.h index a59fe7af0..5af80e75d 100644 --- a/lib/http.h +++ b/lib/http.h @@ -82,7 +82,6 @@ CURLcode Curl_http_compile_trailers(struct curl_slist *trailers, CURLcode Curl_http(struct connectdata *conn, bool *done); CURLcode Curl_http_done(struct connectdata *, CURLcode, bool premature); CURLcode Curl_http_connect(struct connectdata *conn, bool *done); -CURLcode Curl_http_setup_conn(struct connectdata *conn); /* The following functions are defined in http_chunks.c */ void Curl_httpchunk_init(struct connectdata *conn); @@ -90,11 +89,9 @@ CHUNKcode Curl_httpchunk_read(struct connectdata *conn, char *datap, ssize_t length, ssize_t *wrote); /* These functions are in http.c */ -void Curl_http_auth_stage(struct Curl_easy *data, int stage); CURLcode Curl_http_input_auth(struct connectdata *conn, bool proxy, const char *auth); CURLcode Curl_http_auth_act(struct connectdata *conn); -CURLcode Curl_http_perhapsrewind(struct connectdata *conn); /* If only the PICKNONE bit is set, there has been a round-trip and we selected to use no auth at all. Ie, we actively select no auth, as opposed |