Skip to content
This repository was archived by the owner on Oct 20, 2023. It is now read-only.

Commit c39f6a2

Browse files
committed
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 c5aa7fc)
1 parent 602656e commit c39f6a2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sshserver.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#include "ssh.h"
1010
#include "sshbpp.h"
1111
#include "sshppl.h"
12+
#include "sshchan.h"
1213
#include "sshserver.h"
1314
#ifndef NO_GSSAPI
1415
#include "sshgssc.h"
@@ -85,7 +86,7 @@ void ssh_check_frozen(Ssh *ssh) {}
8586

8687
mainchan *mainchan_new(
8788
PacketProtocolLayer *ppl, ConnectionLayer *cl, Conf *conf,
88-
int term_width, int term_height, int is_simple, SshChannel **sc_out)
89+
int term_width, int term_height, bool is_simple, SshChannel **sc_out)
8990
{ return NULL; }
9091
void mainchan_get_specials(
9192
mainchan *mc, add_special_fn_t add_special, void *ctx) {}

0 commit comments

Comments
 (0)