CLEANUP: backend: Don't export connect_server anymore
connect_server() function is only called from backend.c. So make it static.
This commit is contained in:
parent
e3a3af1ec8
commit
c983b2114d
@ -32,7 +32,6 @@
|
|||||||
int assign_server(struct stream *s);
|
int assign_server(struct stream *s);
|
||||||
int assign_server_address(struct stream *s);
|
int assign_server_address(struct stream *s);
|
||||||
int assign_server_and_queue(struct stream *s);
|
int assign_server_and_queue(struct stream *s);
|
||||||
int connect_server(struct stream *s);
|
|
||||||
int srv_redispatch_connect(struct stream *t);
|
int srv_redispatch_connect(struct stream *t);
|
||||||
void back_try_conn_req(struct stream *s);
|
void back_try_conn_req(struct stream *s);
|
||||||
void back_handle_st_req(struct stream *s);
|
void back_handle_st_req(struct stream *s);
|
||||||
|
@ -1247,7 +1247,7 @@ static struct connection *conn_backend_get(struct stream *s, struct server *srv,
|
|||||||
* The server-facing stream interface is expected to hold a pre-allocated connection
|
* The server-facing stream interface is expected to hold a pre-allocated connection
|
||||||
* in s->csb->si->conn.
|
* in s->csb->si->conn.
|
||||||
*/
|
*/
|
||||||
int connect_server(struct stream *s)
|
static int connect_server(struct stream *s)
|
||||||
{
|
{
|
||||||
struct connection *cli_conn = objt_conn(strm_orig(s));
|
struct connection *cli_conn = objt_conn(strm_orig(s));
|
||||||
struct connection *srv_conn = NULL;
|
struct connection *srv_conn = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user