소스 검색

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;