From: Nick Mathewson Date: Mon, 26 Sep 2016 18:03:31 +0000 (-0700) Subject: fix a warning in protover. X-Git-Tag: tor-0.2.9.4-alpha~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=153ff4f559d9b7eeb70d7ebd15225f347cc0aae6;p=thirdparty%2Ftor.git fix a warning in protover. --- diff --git a/src/or/protover.c b/src/or/protover.c index 74fc3d0f74..9e0391a410 100644 --- a/src/or/protover.c +++ b/src/or/protover.c @@ -343,7 +343,7 @@ encode_protocol_list(const smartlist_t *sl) /* We treat any protocol list with more than this many subprotocols in it * as a DoS attempt. */ -const int MAX_PROTOCOLS_TO_EXPAND = (1<<16); +static const int MAX_PROTOCOLS_TO_EXPAND = (1<<16); /** Voting helper: Given a list of proto_entry_t, return a newly allocated * smartlist of newly allocated strings, one for each included protocol