[tor-commits] [tor/master] Mark a variable static.
nickm at torproject.org
nickm at torproject.org
Thu Sep 27 20:30:06 UTC 2018
commit 316453065dfae10dde5afce15feafbdc5c8562a9
Author: Nick Mathewson <nickm at torproject.org>
Date: Thu Sep 27 11:59:39 2018 -0400
Mark a variable static.
---
src/feature/stats/geoip_stats.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/feature/stats/geoip_stats.c b/src/feature/stats/geoip_stats.c
index d1a5dd79b..3e647bd46 100644
--- a/src/feature/stats/geoip_stats.c
+++ b/src/feature/stats/geoip_stats.c
@@ -43,7 +43,7 @@
#include "lib/time/tvdiff.h"
/** Number of entries in n_v3_ns_requests */
-size_t n_v3_ns_requests_len = 0;
+static size_t n_v3_ns_requests_len = 0;
/** Array, indexed by country index, of number of v3 networkstatus requests
* received from that country */
static uint32_t *n_v3_ns_requests;
More information about the tor-commits
mailing list