From 494162381e4200fe2f8c6f99696fd9f199f45b90 Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Mon, 28 Feb 2022 09:14:46 +0100 Subject: [PATCH] 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. --- src/stream_interface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stream_interface.c b/src/stream_interface.c index 21e9d08a3..3b9524b51 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);