]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
[BUILD] stream_interface: fix conflicting declaration
authorWilly Tarreau <w@1wt.eu>
Sun, 20 Sep 2009 18:14:49 +0000 (20:14 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 3 Oct 2009 17:25:25 +0000 (19:25 +0200)
stream_int_check_timeouts was declared void while it's an int.

(cherry picked from commit 269358db93458d343584581239cd7118a09a52a0)

include/proto/stream_interface.h
src/stream_interface.c

index 9a67e813d31c493b8c0f50db7431b4ec44e9e00f..f408f96b6f579212ce2b22eb83c42ec3997a1c2a 100644 (file)
@@ -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);
index c0c80b6e135c3341302a7ef32f63243ca9c7d0ec..9fa5817330f631961ed1f722ca6f40c36e068542 100644 (file)
@@ -29,6 +29,7 @@
 #include <proto/buffers.h>
 #include <proto/client.h>
 #include <proto/fd.h>
+#include <proto/stream_interface.h>
 #include <proto/stream_sock.h>
 #include <proto/task.h>