mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
file-local function should be static and not use Curl_ prefix!
Curl_signalPipeClose is now signalPipeClose().
This commit is contained in:
parent
9e54d4c7d2
commit
39e01e9349
@ -159,6 +159,8 @@ static long ConnectionStore(struct SessionHandle *data,
|
||||
static bool IsPipeliningPossible(struct SessionHandle *handle);
|
||||
static void conn_free(struct connectdata *conn);
|
||||
|
||||
static void signalPipeClose(struct curl_llist *pipe);
|
||||
|
||||
#define MAX_PIPELINE_LENGTH 5
|
||||
|
||||
#ifndef USE_ARES
|
||||
@ -1761,8 +1763,8 @@ CURLcode Curl_disconnect(struct connectdata *conn)
|
||||
Curl_ssl_close(conn);
|
||||
|
||||
/* Indicate to all handles on the pipe that we're dead */
|
||||
Curl_signalPipeClose(conn->send_pipe);
|
||||
Curl_signalPipeClose(conn->recv_pipe);
|
||||
signalPipeClose(conn->send_pipe);
|
||||
signalPipeClose(conn->recv_pipe);
|
||||
|
||||
conn_free(conn);
|
||||
|
||||
@ -1848,7 +1850,7 @@ bool Curl_isHandleAtHead(struct SessionHandle *handle,
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
void Curl_signalPipeClose(struct curl_llist *pipe)
|
||||
static void signalPipeClose(struct curl_llist *pipe)
|
||||
{
|
||||
struct curl_llist_element *curr;
|
||||
|
||||
|
@ -64,7 +64,6 @@ void Curl_removeHandleFromPipeline(struct SessionHandle *handle,
|
||||
struct curl_llist *pipe);
|
||||
bool Curl_isHandleAtHead(struct SessionHandle *handle,
|
||||
struct curl_llist *pipe);
|
||||
void Curl_signalPipeClose(struct curl_llist *pipe);
|
||||
|
||||
void Curl_close_connections(struct SessionHandle *data);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user