1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00

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.
This commit is contained in:
Simon Tatham 2020-05-16 16:11:55 +01:00
parent c373fe979f
commit c5aa7fc31c

View File

@ -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) {}