]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: dumpstats: Make cli_release_handler() static
authorSimon Horman <horms@verge.net.au>
Tue, 12 Feb 2013 01:45:50 +0000 (10:45 +0900)
committerWilly Tarreau <w@1wt.eu>
Wed, 13 Feb 2013 09:53:33 +0000 (10:53 +0100)
Make cli_release_handler() static, it is only used
inside dumpstats.c

Signed-off-by: Simon Horman <horms@verge.net.au>
src/dumpstats.c

index 94e94f2d4ea5300f27fb2692febb118061e4d931..5954e8c2a988d7c7b09ab2dd1f0c2d34c3d9c14b 100644 (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))