comparison common-session.c @ 1278:0c47d97aa9d5

merge
author Matt Johnston <matt@ucc.asn.au>
date Wed, 16 Mar 2016 22:53:27 +0800
parents 9169e4e7cbee
children 432b0a030fd6 6a14b1f6dc04
comparison
equal deleted inserted replaced
1264:a20b6af6f182 1278:0c47d97aa9d5
34 #include "kex.h" 34 #include "kex.h"
35 #include "channel.h" 35 #include "channel.h"
36 #include "runopts.h" 36 #include "runopts.h"
37 #include "netio.h" 37 #include "netio.h"
38 38
39 static void checktimeouts(); 39 static void checktimeouts(void);
40 static long select_timeout(); 40 static long select_timeout(void);
41 static int ident_readln(int fd, char* buf, int count); 41 static int ident_readln(int fd, char* buf, int count);
42 static void read_session_identification(); 42 static void read_session_identification(void);
43 43
44 struct sshsession ses; /* GLOBAL */ 44 struct sshsession ses; /* GLOBAL */
45 45
46 /* need to know if the session struct has been initialised, this way isn't the 46 /* need to know if the session struct has been initialised, this way isn't the
47 * cleanest, but works OK */ 47 * cleanest, but works OK */