CLEANUP: dumpstats: Make cli_release_handler() static

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

Signed-off-by: Simon Horman <horms@verge.net.au>
This commit is contained in:
Simon Horman 2013-02-12 10:45:50 +09:00 committed by Willy Tarreau
parent 007f2a2d24
commit 74d8831e90

View File

@ -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))