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.
This commit is contained in:
Christopher Faulet 2022-02-28 09:14:46 +01:00
parent 693b23bb10
commit 494162381e

View File

@ -93,7 +93,7 @@ struct si_ops si_applet_ops = {
* directly, the last one is mostly a wake callback. * directly, the last one is mostly a wake callback.
*/ */
int si_cs_recv(struct conn_stream *cs); 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); 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 * caller to commit polling changes. The caller should check conn->flags
* for errors. * 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 connection *conn = __cs_conn(cs);
struct stream_interface *si = cs_si(cs); struct stream_interface *si = cs_si(cs);