[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] Appease the hungry god of GCC: it wants functions to be sta...



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];