From: Frédéric Lécaille Date: Wed, 10 Jan 2024 16:22:24 +0000 (+0100) Subject: CLEANUP: quic: Double quic_dgram_parse() prototype declaration. X-Git-Tag: v3.0-dev2~65 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37d5a26cc5a5ebe1abeb2836f89424e33408a186;p=thirdparty%2Fhaproxy.git 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. --- 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);