summaryrefslogtreecommitdiff
path: root/sshconnect.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-07-11 03:58:11 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-07-11 03:58:11 +0000
commitba8df7d76d980e3c3cb3a0af79a87312cfaf5840 (patch)
treeba905382d143452a454adcf8ca9571b231fc7439 /sshconnect.c
parente982773d2aa4f5fdc5e9f42838fc3d06c1f12d0b (diff)
- itojun@cvs.openbsd.org 2002/07/09 12:04:02
[sshconnect.c] ed static function (less warnings)
Diffstat (limited to 'sshconnect.c')
-rw-r--r--sshconnect.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sshconnect.c b/sshconnect.c
index f4301be3..ba5deb44 100644
--- a/sshconnect.c
+++ b/sshconnect.c
@@ -13,7 +13,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: sshconnect.c,v 1.128 2002/07/09 11:56:50 itojun Exp $");
+RCSID("$OpenBSD: sshconnect.c,v 1.129 2002/07/09 12:04:02 itojun Exp $");
#include <openssl/bn.h>
@@ -46,6 +46,7 @@ extern uid_t original_effective_uid;
#define INET6_ADDRSTRLEN 46
#endif
+#if 0
static const char *
sockaddr_ntop(struct sockaddr *sa, socklen_t salen)
{
@@ -56,6 +57,7 @@ sockaddr_ntop(struct sockaddr *sa, socklen_t salen)
fatal("sockaddr_ntop: getnameinfo NI_NUMERICHOST failed");
return addrbuf;
}
+#endif
/*
* Connect to the given ssh server using a proxy command.