]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: quic: use static qualifer on quic_close
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 5 Apr 2022 15:34:18 +0000 (17:34 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 7 Apr 2022 08:10:22 +0000 (10:10 +0200)
quic_close can be used through xprt-ops and can thus be kept as a static
symbol.

src/xprt_quic.c

index a86e7f7546120464a77e5e133a1324a020ab8f4f..a1fb28364d579fcde0266ba1b0f611e1c5e79f00 100644 (file)
@@ -3859,7 +3859,7 @@ static void quic_conn_release(struct quic_conn *qc)
        TRACE_PROTO("QUIC conn. freed", QUIC_EV_CONN_FREED, qc);
 }
 
-void quic_close(struct connection *conn, void *xprt_ctx)
+static void quic_close(struct connection *conn, void *xprt_ctx)
 {
        struct ssl_sock_ctx *conn_ctx = xprt_ctx;
        struct quic_conn *qc = conn_ctx->qc;