]> git.kaiwu.me - haproxy.git/commitdiff
CLEANUP: quic: remove the duplicate qc_prep_hdshk_fast_retrans() prototype
authorFrederic Lecaille <flecaille@haproxy.com>
Wed, 4 Nov 2026 17:01:29 +0000 (18:01 +0100)
committerFrederic Lecaille <flecaille@haproxy.com>
Thu, 5 Nov 2026 08:58:36 +0000 (09:58 +0100)
This function is declared in quic_retransmit.h, which is included both by
quic_tx.c and quic_rx.c, its only two callers. The second declaration in
quic_tx.h is therefore useless.

No functional change, no need to backport.

include/haproxy/quic_tx.h

index 5ad59f18991d7fd0c84099986867123bb090c231..802dd054cf0417299e89c4da0127827680b4967c 100644 (file)
@@ -44,8 +44,6 @@ int qc_send(struct quic_conn *qc, int old_data, struct list *send_list,
             int max_dgrams);
 
 int qc_dgrams_retransmit(struct quic_conn *qc);
-void qc_prep_hdshk_fast_retrans(struct quic_conn *qc,
-                                struct list *ifrms, struct list *hfrms);
 int send_retry(struct listener *l, struct sockaddr_storage *src,
                struct sockaddr_storage *dst,
                struct quic_rx_packet *pkt, const struct quic_version *qv);