]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: quic: Double quic_dgram_parse() prototype declaration.
authorFrédéric Lécaille <flecaille@haproxy.com>
Wed, 10 Jan 2024 16:22:24 +0000 (17:22 +0100)
committerFrédéric Lécaille <flecaille@haproxy.com>
Wed, 10 Jan 2024 16:22:24 +0000 (17:22 +0100)
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

index 1cd17d7665952ded58171d11ced03469082d837b..92caed4e55c8ef1a63ccd1a4e7525b4bbfb7f3c2 100644 (file)
@@ -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);