]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: quic: clean up include on quic_frame-t.h
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 13 Jul 2022 12:49:39 +0000 (14:49 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 15 Jul 2022 12:54:24 +0000 (14:54 +0200)
commit41cd8793837f1b29293bd25d4f96b2c8dcd45237
tree4c6240f2a90100366bfa8d6412edcff426859612
parent72d86509f1f35d1a9d2bef2a6e6b34430bd8bec6
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.
include/haproxy/quic_frame-t.h
include/haproxy/xprt_quic-t.h