浏览代码

Mark a variable static.

Nick Mathewson 5 年之前
父节点
当前提交
316453065d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/feature/stats/geoip_stats.c

+ 1 - 1
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;