=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/sshconnect.c,v retrieving revision 1.108 retrieving revision 1.109 diff -u -r1.108 -r1.109 --- src/usr.bin/ssh/sshconnect.c 2001/06/23 02:34:31 1.108 +++ src/usr.bin/ssh/sshconnect.c 2001/06/23 15:12:21 1.109 @@ -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 @@ -44,7 +44,7 @@ /* * 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 @@ /* * 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 @@ * 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 @@ } /* defaults to 'no' */ -int +static int read_yes_or_no(const char *prompt, int defval) { char buf[1024]; @@ -496,7 +496,7 @@ * 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) {