1
0
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:
Daniel Stenberg 2006-09-15 08:47:55 +00:00
parent 9e54d4c7d2
commit 39e01e9349
2 changed files with 5 additions and 4 deletions

View File

@ -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;

View File

@ -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);