From 37d5a26cc5a5ebe1abeb2836f89424e33408a186 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20L=C3=A9caille?= Date: Wed, 10 Jan 2024 17:22:24 +0100 Subject: [PATCH] CLEANUP: quic: Double quic_dgram_parse() prototype declaration. This function is defined in the RX part (quic_rx.c) and declared in quic_rx.h header. This is its correct place. Remove the useless declaration of this function in quic_conn.h. Should be backported in 2.9 where this double declaration was introduced when moving quic_dgram_parse() from quic_conn.c to quic_rx.c. --- include/haproxy/quic_conn.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/haproxy/quic_conn.h b/include/haproxy/quic_conn.h index 1cd17d7665..92caed4e55 100644 --- a/include/haproxy/quic_conn.h +++ b/include/haproxy/quic_conn.h @@ -185,8 +185,6 @@ void qc_kill_conn(struct quic_conn *qc); int qc_parse_hd_form(struct quic_rx_packet *pkt, unsigned char **buf, const unsigned char *end); -int quic_dgram_parse(struct quic_dgram *dgram, struct quic_conn *qc, - struct listener *li); int qc_set_tid_affinity(struct quic_conn *qc, uint new_tid, struct listener *new_li); void qc_finalize_affinity_rebind(struct quic_conn *qc);