diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2022-11-17 16:58:39 +1100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-11-25 01:34:30 +0100 |
commit | 9ffa0184e30322b160dba01f63f1ec6d8026674c (patch) | |
tree | ba5a66e9910b6f34311c4cfb0462745f5aa6eab5 /tcp_splice.h | |
parent | 698e4fd761ca200759a12872479a95b96c6c4ebb (diff) | |
download | passt-9ffa0184e30322b160dba01f63f1ec6d8026674c.tar passt-9ffa0184e30322b160dba01f63f1ec6d8026674c.tar.gz passt-9ffa0184e30322b160dba01f63f1ec6d8026674c.tar.bz2 passt-9ffa0184e30322b160dba01f63f1ec6d8026674c.tar.lz passt-9ffa0184e30322b160dba01f63f1ec6d8026674c.tar.xz passt-9ffa0184e30322b160dba01f63f1ec6d8026674c.tar.zst passt-9ffa0184e30322b160dba01f63f1ec6d8026674c.zip |
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>
Diffstat (limited to 'tcp_splice.h')
-rw-r--r-- | tcp_splice.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tcp_splice.h b/tcp_splice.h index 63ffc68..2c4bff3 100644 --- a/tcp_splice.h +++ b/tcp_splice.h @@ -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); |