From 01300064609d3bc52a533339ac587b9ba8bc8f48 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Sun, 20 Sep 2009 20:14:49 +0200 Subject: [PATCH] [BUILD] stream_interface: fix conflicting declaration stream_int_check_timeouts was declared void while it's an int. (cherry picked from commit 269358db93458d343584581239cd7118a09a52a0) --- include/proto/stream_interface.h | 2 +- src/stream_interface.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/proto/stream_interface.h b/include/proto/stream_interface.h index 9a67e813d3..f408f96b6f 100644 --- a/include/proto/stream_interface.h +++ b/include/proto/stream_interface.h @@ -29,7 +29,7 @@ /* main event functions used to move data between sockets and buffers */ -void stream_int_check_timeouts(struct stream_interface *si); +int stream_int_check_timeouts(struct stream_interface *si); void stream_int_report_error(struct stream_interface *si); void stream_int_return(struct stream_interface *si, const struct chunk *msg); void stream_int_retnclose(struct stream_interface *si, const struct chunk *msg); diff --git a/src/stream_interface.c b/src/stream_interface.c index c0c80b6e13..9fa5817330 100644 --- a/src/stream_interface.c +++ b/src/stream_interface.c @@ -29,6 +29,7 @@ #include #include #include +#include #include #include -- 2.47.3