aboutsummaryrefslogtreecommitdiff
path: root/src/or/networkstatus.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-05-11 18:15:43 -0400
committerNick Mathewson <nickm@torproject.org>2018-05-11 18:15:43 -0400
commitaab626405c312a33d521c9ca3729552fd9ccca2e (patch)
treef4b833bd3818a48b7a642ff5066ca0ec4ccfc0bb /src/or/networkstatus.h
parentb3e591dca1a7343a49bc949e8f75a242efb7fb72 (diff)
parentde343b4e421c0c651eaac1d52d23c3c792bee73a (diff)
downloadtor-aab626405c312a33d521c9ca3729552fd9ccca2e.tar.gz
tor-aab626405c312a33d521c9ca3729552fd9ccca2e.zip
Merge remote-tracking branch 'catalyst-github/bug25756'
Diffstat (limited to 'src/or/networkstatus.h')
-rw-r--r--src/or/networkstatus.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/networkstatus.h b/src/or/networkstatus.h
index 6a7a42f911..94f85c3c29 100644
--- a/src/or/networkstatus.h
+++ b/src/or/networkstatus.h
@@ -151,6 +151,8 @@ 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);
+STATIC void warn_early_consensus(const networkstatus_t *c, const char *flavor,
+ time_t now);
extern networkstatus_t *current_ns_consensus;
extern networkstatus_t *current_md_consensus;
#endif /* defined(TOR_UNIT_TESTS) */