mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-19 01:54:37 +00:00
CLEANUP: quic: clean up include on quic_frame-t.h
quic_frame-t.h and xprt_quic-t.h include themselves mutually. This may cause some troubles later. In fact, xprt_quic does not need to include quic_frame so remove this. And as quic_frame is a generic source file which is included in multiple places, it is useful to also remove the xprt_quic include in it. Use forward declaration for this.
This commit is contained in:
parent
72d86509f1
commit
41cd879383
@ -29,12 +29,15 @@
|
||||
#include <inttypes.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <haproxy/list.h>
|
||||
|
||||
#include <import/ebtree-t.h>
|
||||
#include <haproxy/buf-t.h>
|
||||
#include <haproxy/list.h>
|
||||
#include <haproxy/quic_stream-t.h>
|
||||
|
||||
#include <haproxy/mux_quic-t.h>
|
||||
#include <haproxy/xprt_quic-t.h>
|
||||
/* forward declarations from xprt-quic */
|
||||
struct quic_arngs;
|
||||
struct quic_enc_level;
|
||||
struct quic_tx_packet;
|
||||
|
||||
/* QUIC frame types. */
|
||||
enum quic_frame_type {
|
||||
|
@ -34,7 +34,6 @@
|
||||
|
||||
#include <haproxy/mux_quic-t.h>
|
||||
#include <haproxy/quic_cc-t.h>
|
||||
#include <haproxy/quic_frame-t.h>
|
||||
#include <haproxy/quic_loss-t.h>
|
||||
#include <haproxy/quic_stats-t.h>
|
||||
#include <haproxy/quic_tls-t.h>
|
||||
|
Loading…
Reference in New Issue
Block a user