[or-cvs] Appease the hungry god of GCC: it wants functions to be sta...
Nick Mathewson
nickm at seul.org
Tue Jun 21 01:08:03 UTC 2005
Update of /home/or/cvsroot/tor/src/or
In directory moria:/tmp/cvs-serv4292/src/or
Modified Files:
connection_or.c
Log Message:
Appease the hungry god of GCC: it wants functions to be static or prototyped!
Index: connection_or.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/connection_or.c,v
retrieving revision 1.179
retrieving revision 1.180
diff -u -d -r1.179 -r1.180
--- connection_or.c 20 Jun 2005 23:04:13 -0000 1.179
+++ connection_or.c 21 Jun 2005 01:08:01 -0000 1.180
@@ -466,8 +466,9 @@
* 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];
More information about the tor-commits
mailing list