]> git.kaiwu.me - haproxy.git/commitdiff
CLEANUP: quic: remove duplicated quic_cstream_new() declaration
authorFrederic Lecaille <flecaille@haproxy.com>
Thu, 29 Oct 2026 14:26:55 +0000 (15:26 +0100)
committerFrederic Lecaille <flecaille@haproxy.com>
Tue, 3 Nov 2026 06:56:47 +0000 (07:56 +0100)
The function prototype is declared twice in include/haproxy/quic_conn.h.
Let's remove the second one.

include/haproxy/quic_conn.h

index 183dfdba904b2216cc68c8a45e904a9a0a0869fe..c01b82e6a5a340b22508c2570dc1c21f25125eb1 100644 (file)
@@ -61,7 +61,6 @@ int ssl_quic_initial_ctx(struct bind_conf *bind_conf);
 struct quic_cstream *quic_cstream_new(struct quic_conn *qc);
 void quic_cstream_free(struct quic_cstream *cs);
 void quic_free_arngs(struct quic_conn *qc, struct quic_arngs *arngs);
-struct quic_cstream *quic_cstream_new(struct quic_conn *qc);
 struct task *quic_conn_app_io_cb(struct task *t, void *context, unsigned int state);
 
 void quic_conn_closed_err_count_inc(struct quic_conn *qc, struct quic_frame *frm);