diff options
author | Roger Dingledine <arma@torproject.org> | 2017-05-10 17:57:35 -0400 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2017-05-10 17:57:35 -0400 |
commit | 466e27feaebf0bb7a1c906b733a0da2328b21330 (patch) | |
tree | af30fb2f4f30d41ffae368748d839ce2f55643c1 /src/or/networkstatus.h | |
parent | 2330a3713da668bf8c171490af8c414a46a74001 (diff) | |
download | tor-466e27feaebf0bb7a1c906b733a0da2328b21330.tar.gz tor-466e27feaebf0bb7a1c906b733a0da2328b21330.zip |
simplify functions now that they don't use options param
Diffstat (limited to 'src/or/networkstatus.h')
-rw-r--r-- | src/or/networkstatus.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/networkstatus.h b/src/or/networkstatus.h index 7d148b4ff0..37a5a3b7a0 100644 --- a/src/or/networkstatus.h +++ b/src/or/networkstatus.h @@ -76,8 +76,7 @@ int should_delay_dir_fetches(const or_options_t *options,const char **msg_out); void update_networkstatus_downloads(time_t now); void update_certificate_downloads(time_t now); int consensus_is_waiting_for_certs(void); -int client_would_use_router(const routerstatus_t *rs, time_t now, - const or_options_t *options); +int client_would_use_router(const routerstatus_t *rs, time_t now); MOCK_DECL(networkstatus_t *,networkstatus_get_latest_consensus,(void)); MOCK_DECL(networkstatus_t *,networkstatus_get_latest_consensus_by_flavor, (consensus_flavor_t f)); |