]> 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>
Mon, 21 Sep 2009 04:24:42 +0000 (06:24 +0200)
stream_int_check_timeouts was declared void while it's an int.

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 2b14d2d449303a69136c173b12bae7b64360d635..76f447d32a934548ee8a5376735ff797bd0f7a88 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>