diff --git a/include/haproxy/mux_quic.h b/include/haproxy/mux_quic.h index 0846ca7b7..3da5736e7 100644 --- a/include/haproxy/mux_quic.h +++ b/include/haproxy/mux_quic.h @@ -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); diff --git a/src/mux_quic.c b/src/mux_quic.c index 455b43e48..cb7a09e6e 100644 --- a/src/mux_quic.c +++ b/src/mux_quic.c @@ -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;