From: Christopher Faulet Date: Mon, 28 Feb 2022 08:14:46 +0000 (+0100) Subject: CLEANUP: stream-int: Make si_cs_send() function static X-Git-Tag: v2.6-dev3~109 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=494162381e4200fe2f8c6f99696fd9f199f45b90;p=thirdparty%2Fhaproxy.git CLEANUP: stream-int: Make si_cs_send() function static This function was not exported and is only used in stream_interface.c. So make it static. --- diff --git a/src/stream_interface.c b/src/stream_interface.c index 21e9d08a30..3b9524b513 100644 --- a/src/stream_interface.c +++ b/src/stream_interface.c @@ -93,7 +93,7 @@ struct si_ops si_applet_ops = { * directly, the last one is mostly a wake callback. */ int si_cs_recv(struct conn_stream *cs); -int si_cs_send(struct conn_stream *cs); +static int si_cs_send(struct conn_stream *cs); static int si_cs_process(struct conn_stream *cs); @@ -679,7 +679,7 @@ static int si_cs_process(struct conn_stream *cs) * caller to commit polling changes. The caller should check conn->flags * for errors. */ -int si_cs_send(struct conn_stream *cs) +static int si_cs_send(struct conn_stream *cs) { struct connection *conn = __cs_conn(cs); struct stream_interface *si = cs_si(cs);