[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Mark a variable static.
commit 316453065dfae10dde5afce15feafbdc5c8562a9
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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;
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits