diff options
author | 2001-06-23 15:12:17 +0000 | |
---|---|---|
committer | 2001-06-23 15:12:17 +0000 | |
commit | fae73ca39db8778fbd881b5971d896922ed8bf76 (patch) | |
tree | a0ef435bb5abac50a55a93941614a1aa2cad1c96 /usr.bin/ssh/sshconnect.c | |
parent | document ll, depreciate q (diff) | |
download | wireguard-openbsd-fae73ca39db8778fbd881b5971d896922ed8bf76.tar.xz wireguard-openbsd-fae73ca39db8778fbd881b5971d896922ed8bf76.zip |
more strict prototypes. raise warning level in Makefile.inc. markus ok'ed
TODO; cleanup headers
Diffstat (limited to 'usr.bin/ssh/sshconnect.c')
-rw-r--r-- | usr.bin/ssh/sshconnect.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/ssh/sshconnect.c b/usr.bin/ssh/sshconnect.c index 41775d8df1f..f182f900b1f 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.108 2001/06/23 02:34:31 markus Exp $"); +RCSID("$OpenBSD: sshconnect.c,v 1.109 2001/06/23 15:12:21 itojun Exp $"); #include <openssl/bn.h> @@ -44,7 +44,7 @@ extern int IPv4or6; /* * Connect to the given ssh server using a proxy command. */ -int +static int ssh_proxy_connect(const char *host, u_short port, struct passwd *pw, const char *proxy_command) { @@ -144,7 +144,7 @@ ssh_proxy_connect(const char *host, u_short port, struct passwd *pw, /* * Creates a (possibly privileged) socket for use as the ssh connection. */ -int +static int ssh_create_socket(struct passwd *pw, int privileged, int family) { int sock, gaierr; @@ -341,7 +341,7 @@ ssh_connect(const char *host, struct sockaddr_storage * hostaddr, * Waits for the server identification string, and sends our own * identification string. */ -void +static void ssh_exchange_identification(void) { char buf[256], remote_version[256]; /* must be same size! */ @@ -440,7 +440,7 @@ ssh_exchange_identification(void) } /* defaults to 'no' */ -int +static int read_yes_or_no(const char *prompt, int defval) { char buf[1024]; @@ -496,7 +496,7 @@ read_yes_or_no(const char *prompt, int defval) * is not valid. the user_hostfile will not be updated if 'readonly' is true. */ -int +static int check_host_key(char *host, struct sockaddr *hostaddr, Key *host_key, int readonly, const char *user_hostfile, const char *system_hostfile) { |