Make cli_release_handler() static, it is only used
inside dumpstats.c

Signed-off-by: Simon Horman <ho...@verge.net.au>
---
 src/dumpstats.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/dumpstats.c b/src/dumpstats.c
index 94e94f2..5954e8c 100644
--- a/src/dumpstats.c
+++ b/src/dumpstats.c
@@ -3992,7 +3992,7 @@ static int stats_dump_sess_to_buffer(struct 
stream_interface *si)
  * external abort, we won't call the i/o handler anymore so we may need to
  * remove back references to the session currently being dumped.
  */
-void cli_release_handler(struct stream_interface *si)
+static void cli_release_handler(struct stream_interface *si)
 {
        if (si->applet.st0 == STAT_CLI_O_SESS && si->conn->xprt_st == 
STAT_ST_LIST) {
                if (!LIST_ISEMPTY(&si->applet.ctx.sess.bref.users))
-- 
1.7.10.4


Reply via email to