From c5aa7fc31c4b57d07967ed8a88b77ff79cb5d44f Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sat, 16 May 2020 16:11:55 +0100 Subject: [PATCH] sshserver.c: fix prototype of mainchan_new. Again, there was a missing #include in that file which meant that the definition of the function was never being checked against the declaration visible to other source files. --- sshserver.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sshserver.c b/sshserver.c index 6ba8cfcf..d5e42b09 100644 --- a/sshserver.c +++ b/sshserver.c @@ -9,6 +9,7 @@ #include "ssh.h" #include "sshbpp.h" #include "sshppl.h" +#include "sshchan.h" #include "sshserver.h" #ifndef NO_GSSAPI #include "sshgssc.h" @@ -85,7 +86,7 @@ void ssh_check_frozen(Ssh *ssh) {} mainchan *mainchan_new( PacketProtocolLayer *ppl, ConnectionLayer *cl, Conf *conf, - int term_width, int term_height, int is_simple, SshChannel **sc_out) + int term_width, int term_height, bool is_simple, SshChannel **sc_out) { return NULL; } void mainchan_get_specials( mainchan *mc, add_special_fn_t add_special, void *ctx) {}