summaryrefslogtreecommitdiff
path: root/sysdep/unix
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2017-05-23 13:12:25 +0200
committerOndrej Zajicek (work) <santiago@crfreenet.org>2017-05-23 13:12:25 +0200
commit734e9fb8a933898cd3396786c06728bce6a754e5 (patch)
tree610ffaa2286fc604be4b2f1c30a983f0076b1da8 /sysdep/unix
parentbb7aa06a48f52813a019861a0e06ce9fe4d20c4b (diff)
Minor cleanups and fixes
Diffstat (limited to 'sysdep/unix')
-rw-r--r--sysdep/unix/io.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdep/unix/io.c b/sysdep/unix/io.c
index d1246ea5..0cf48c9d 100644
--- a/sysdep/unix/io.c
+++ b/sysdep/unix/io.c
@@ -1344,6 +1344,7 @@ sk_tcp_connected(sock *s)
s->tx_hook(s);
}
+#ifdef HAVE_LIBSSH
static void
sk_ssh_connected(sock *s)
{
@@ -1351,6 +1352,7 @@ sk_ssh_connected(sock *s)
s->type = SK_SSH;
s->tx_hook(s);
}
+#endif
static int
sk_passive_connected(sock *s, int type)