pipeline: move function to pipeline.c and make static

... as it was only used from there.
This commit is contained in:
Daniel Stenberg
2015-05-07 09:00:20 +02:00
parent e91aedd840
commit 591a6933da
2 changed files with 10 additions and 9 deletions

View File

@@ -2835,14 +2835,6 @@ bool Curl_isPipeliningEnabled(const struct SessionHandle *handle)
return Curl_multi_pipeline_enabled(handle->multi);
}
CURLcode Curl_addHandleToPipeline(struct SessionHandle *data,
struct curl_llist *pipeline)
{
if(!Curl_llist_insert_next(pipeline, pipeline->tail, data))
return CURLE_OUT_OF_MEMORY;
return CURLE_OK;
}
int Curl_removeHandleFromPipeline(struct SessionHandle *handle,
struct curl_llist *pipeline)
{