summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-07-09 12:04:03 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-07-09 12:04:03 +0000
commit87ae055aed8930ea5d5586c6de68c89850b2c038 (patch)
treef430bd369c8a8cba40657e110ecb3097ee0f4583
parent46b0892bd0b813d85df097c334fd70092719a611 (diff)
ed static function (less warnings)
-rw-r--r--usr.bin/ssh/sshconnect.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/ssh/sshconnect.c b/usr.bin/ssh/sshconnect.c
index ccf3b45b314..176a6a2724a 100644
--- a/usr.bin/ssh/sshconnect.c
+++ b/usr.bin/ssh/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>
@@ -42,6 +42,7 @@ extern char *__progname;
extern uid_t original_real_uid;
extern uid_t original_effective_uid;
+#if 0
static const char *
sockaddr_ntop(struct sockaddr *sa, socklen_t salen)
{
@@ -52,6 +53,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.