1
0
Fork 0
mirror of https://passt.top/passt synced 2025-07-30 21:08:01 +02:00

tcp_splice: #include tcp_splice.h in tcp_splice.c

This obvious include was omitted, which means that declarations in the
header weren't checked against definitions in the .c file.  This shows up
an old declaration for a function that is now static, and a duplicate

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
David Gibson 2022-11-17 16:58:39 +11:00 committed by Stefano Brivio
commit 9ffa0184e3
2 changed files with 1 additions and 4 deletions

View file

@ -8,11 +8,8 @@
#define TCP_SPLICE_MAX_CONNS (128 * 1024)
struct tcp_splice_conn;
void tcp_sock_handler_splice(struct ctx *c, union epoll_ref ref,
uint32_t events);
void tcp_splice_destroy(struct ctx *c, struct tcp_splice_conn *conn);
void tcp_splice_init(struct ctx *c);
void tcp_splice_timer(struct ctx *c);
void tcp_splice_defer_handler(struct ctx *c);