From 269358db93458d343584581239cd7118a09a52a0 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. --- 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 9a67e813d..f408f96b6 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 2b14d2d44..76f447d32 100644 --- a/src/stream_interface.c +++ b/src/stream_interface.c @@ -29,6 +29,7 @@ #include #include #include +#include #include #include