From: Simon Horman Date: Tue, 12 Feb 2013 01:45:50 +0000 (+0900) Subject: CLEANUP: dumpstats: Make cli_release_handler() static X-Git-Tag: v1.5-dev18~97 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=74d8831e9008efbb344f781adf7803ebe1d25a78;p=thirdparty%2Fhaproxy.git CLEANUP: dumpstats: Make cli_release_handler() static Make cli_release_handler() static, it is only used inside dumpstats.c Signed-off-by: Simon Horman --- diff --git a/src/dumpstats.c b/src/dumpstats.c index 94e94f2d4e..5954e8c2a9 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))