diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-06-21 01:08:01 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-06-21 01:08:01 +0000 |
commit | 3ff473b47bc3791f68e81cc9de60f586ac827cdf (patch) | |
tree | 631a1512573da590044e6b134b336068d5065e84 | |
parent | a37db0da2601f7a70b8450e3adf081b76dedbf70 (diff) | |
download | tor-3ff473b47bc3791f68e81cc9de60f586ac827cdf.tar tor-3ff473b47bc3791f68e81cc9de60f586ac827cdf.tar.gz |
Appease the hungry god of GCC: it wants functions to be static or prototyped!
svn:r4471
-rw-r--r-- | src/or/connection_or.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/connection_or.c b/src/or/connection_or.c index c765e3811..a0a84dd93 100644 --- a/src/or/connection_or.c +++ b/src/or/connection_or.c @@ -466,8 +466,9 @@ connection_or_nonopen_was_started_here(connection_t *conn) * descriptors that claim to be on that IP/port but that aren't * this guy; and note that this guy is reachable. */ -int -connection_or_check_valid_handshake(connection_t *conn, char *digest_rcvd) { +static int +connection_or_check_valid_handshake(connection_t *conn, char *digest_rcvd) +{ routerinfo_t *router; crypto_pk_env_t *identity_rcvd=NULL; char nickname[MAX_NICKNAME_LEN+1]; |