Ver código fonte

Appease the hungry god of GCC: it wants functions to be static or prototyped!

svn:r4471
Nick Mathewson 20 anos atrás
pai
commit
3ff473b47b
1 arquivos alterados com 3 adições e 2 exclusões
  1. 3 2
      src/or/connection_or.c

+ 3 - 2
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];