mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-14 17:56:09 +02:00
BUG/MINOR: xprt_qstrm: fix conflicting prototype
This patch adds the missing include of xprt_qstrm header into its companion source file. This helped to detect an incoherence in the xprt_qstrm_xfer_rxbuf() prototype which is now fixed. Header files is also updated with mandatory include statements and forward declaration. No backport needed.
This commit is contained in:
parent
b24260ec94
commit
7e2f0fa178
@ -1,9 +1,14 @@
|
||||
#ifndef _HAPROXY_XPRT_QSTRM_H
|
||||
#define _HAPROXY_XPRT_QSTRM_H
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
struct buffer;
|
||||
struct quic_transport_params;
|
||||
|
||||
const struct quic_transport_params *xprt_qstrm_lparams(const void *context);
|
||||
const struct quic_transport_params *xprt_qstrm_rparams(const void *context);
|
||||
|
||||
size_t xprt_qstrm_xfer_rxbuf(const void *context, struct buffer *out);
|
||||
size_t xprt_qstrm_xfer_rxbuf(void *context, struct buffer *out);
|
||||
|
||||
#endif /* _HAPROXY_XPRT_QSTRM_H */
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
#include <haproxy/xprt_qstrm.h>
|
||||
|
||||
#include <haproxy/api.h>
|
||||
#include <haproxy/buf.h>
|
||||
#include <haproxy/connection.h>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user