]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: mux-quic: do not export qc_get_ncbuf
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 4 Jul 2022 13:48:57 +0000 (15:48 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 5 Jul 2022 09:06:52 +0000 (11:06 +0200)
qc_get_ncbuf() is only used internally : thus its prototype in QUIC MUX
include is not required.

include/haproxy/mux_quic.h
src/mux_quic.c

index 0846ca7b79b0d58705ff32ff26c39e8037da1863..3da5736e75c054b7f281a9ee15e300d7779679b3 100644 (file)
@@ -18,7 +18,6 @@ struct qcs *qcs_new(struct qcc *qcc, uint64_t id, enum qcs_type type);
 void qcs_free(struct qcs *qcs);
 
 struct buffer *qc_get_buf(struct qcs *qcs, struct buffer *bptr);
-struct ncbuf *qc_get_ncbuf(struct qcs *qcs, struct ncbuf *ncbuf);
 
 int qcs_subscribe(struct qcs *qcs, int event_type, struct wait_event *es);
 void qcs_notify_recv(struct qcs *qcs);
index 455b43e48e81955a6edb059a3a3bcbf1ee8b70f5..cb7a09e6e72fcd11aebcce17016601096377d8e3 100644 (file)
@@ -228,7 +228,7 @@ struct buffer *qc_get_buf(struct qcs *qcs, struct buffer *bptr)
        return buf;
 }
 
-struct ncbuf *qc_get_ncbuf(struct qcs *qcs, struct ncbuf *ncbuf)
+static struct ncbuf *qc_get_ncbuf(struct qcs *qcs, struct ncbuf *ncbuf)
 {
        struct buffer buf = BUF_NULL;