diff --git a/src/tcpforward.c b/src/tcpforward.c
index a864586e72925ee0785eb92f3907ad56b2c57a40..84e3a4fa79d85b407b13962113bff970716a5c18 100644
--- a/src/tcpforward.c
+++ b/src/tcpforward.c
@@ -282,9 +282,7 @@ make_open_forwarded_tcpip_continuation(struct ssh_connection *connection,
 static void
 do_channel_open_direct_tcpip(struct channel_open *s,
 			     struct ssh_connection *connection,
-			     UINT32 channel_type UNUSED,
-			     UINT32 send_window_size UNUSED,
-			     UINT32 send_max_packet UNUSED,
+			     struct channel_open_info *info UNUSED,
 			     struct simple_buffer *args,
 			     struct command_continuation *c,
 			     struct exception_handler *e)
@@ -583,9 +581,7 @@ struct global_request tcpip_cancel_forward =
 static void
 do_channel_open_forwarded_tcpip(struct channel_open *s UNUSED,
 				struct ssh_connection *connection,
-				UINT32 channel_type UNUSED,
-				UINT32 send_window_size UNUSED,
-				UINT32 send_max_packet UNUSED,
+				struct channel_open_info *info UNUSED,
 				struct simple_buffer *args,
 				struct command_continuation *c,
 				struct exception_handler *e)