summaryrefslogtreecommitdiff
path: root/src/or/networkstatus.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-05-08 15:38:05 -0400
committerNick Mathewson <nickm@torproject.org>2017-05-08 15:38:05 -0400
commit2e4f3b36bdfd5118a523b3fdbfadc0415daa0635 (patch)
treeae3a4b4d00433d359a4a7357b30cd58ef5afdabb /src/or/networkstatus.h
parent4d6c79d1de5e242c000f28a71c706734d1a2da0b (diff)
downloadtor-2e4f3b36bdfd5118a523b3fdbfadc0415daa0635.tar.gz
tor-2e4f3b36bdfd5118a523b3fdbfadc0415daa0635.zip
clang-i386: use house style for public-when-testing variables
This fixes a warning from jenkins.
Diffstat (limited to 'src/or/networkstatus.h')
-rw-r--r--src/or/networkstatus.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/networkstatus.h b/src/or/networkstatus.h
index 6a90d706c5..7d148b4ff0 100644
--- a/src/or/networkstatus.h
+++ b/src/or/networkstatus.h
@@ -139,7 +139,9 @@ void vote_routerstatus_free(vote_routerstatus_t *rs);
#ifdef TOR_UNIT_TESTS
STATIC int networkstatus_set_current_consensus_from_ns(networkstatus_t *c,
const char *flavor);
-#endif // TOR_UNIT_TESTS
+extern networkstatus_t *current_ns_consensus;
+extern networkstatus_t *current_md_consensus;
+#endif
#endif
#endif