diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-10-16 07:40:54 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-10-16 07:40:54 -0400 |
commit | 6d419a3da31162db989943e98fbb8de3f03b0020 (patch) | |
tree | 367f29c076f5bda7fcc606ac6f7abdca804e13a1 /src/test/test_routerlist.c | |
parent | e934d713b3847401ee08581dae88bb4a4eea5c14 (diff) | |
download | tor-6d419a3da31162db989943e98fbb8de3f03b0020.tar.gz tor-6d419a3da31162db989943e98fbb8de3f03b0020.zip |
test_dir_common: make sure we include pr lines. Fixes 7 tests.
Diffstat (limited to 'src/test/test_routerlist.c')
-rw-r--r-- | src/test/test_routerlist.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/test/test_routerlist.c b/src/test/test_routerlist.c index 91a75d7080..c7b65006f0 100644 --- a/src/test/test_routerlist.c +++ b/src/test/test_routerlist.c @@ -52,8 +52,6 @@ #include "test/test_dir_common.h" #include "test/log_test_helpers.h" -void construct_consensus(char **consensus_text_md, time_t now); - static authority_cert_t *mock_cert; static authority_cert_t * @@ -150,7 +148,7 @@ test_routerlist_launch_descriptor_downloads(void *arg) smartlist_free(downloadable); } -void +static void construct_consensus(char **consensus_text_md, time_t now) { networkstatus_t *vote = NULL; |