mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-22 14:39:24 -05: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. (cherry picked from commit c5aa7fc31c4b57d07967ed8a88b77ff79cb5d44f)
This commit is contained in:
parent
602656eee7
commit
c39f6a2223
@ -9,6 +9,7 @@
|
|||||||
#include "ssh.h"
|
#include "ssh.h"
|
||||||
#include "sshbpp.h"
|
#include "sshbpp.h"
|
||||||
#include "sshppl.h"
|
#include "sshppl.h"
|
||||||
|
#include "sshchan.h"
|
||||||
#include "sshserver.h"
|
#include "sshserver.h"
|
||||||
#ifndef NO_GSSAPI
|
#ifndef NO_GSSAPI
|
||||||
#include "sshgssc.h"
|
#include "sshgssc.h"
|
||||||
@ -85,7 +86,7 @@ void ssh_check_frozen(Ssh *ssh) {}
|
|||||||
|
|
||||||
mainchan *mainchan_new(
|
mainchan *mainchan_new(
|
||||||
PacketProtocolLayer *ppl, ConnectionLayer *cl, Conf *conf,
|
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; }
|
{ return NULL; }
|
||||||
void mainchan_get_specials(
|
void mainchan_get_specials(
|
||||||
mainchan *mc, add_special_fn_t add_special, void *ctx) {}
|
mainchan *mc, add_special_fn_t add_special, void *ctx) {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user