diff options
author | George Kadianakis <desnacked@riseup.net> | 2014-07-09 19:20:41 +0300 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2014-07-09 19:20:41 +0300 |
commit | b74442db944be074785ce9590c34358959d7650a (patch) | |
tree | 1beb2813202ea69a80a1725d9a75f114c1ac583b /src/or/routerlist.h | |
parent | a8fcdbf4a0fcea3c97431f0c2bcc5a7774764ed4 (diff) | |
download | tor-b74442db944be074785ce9590c34358959d7650a.tar.gz tor-b74442db944be074785ce9590c34358959d7650a.zip |
Change interface of router_descriptor_is_too_old().
Diffstat (limited to 'src/or/routerlist.h')
-rw-r--r-- | src/or/routerlist.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/routerlist.h b/src/or/routerlist.h index adf5d32209..52f2303c7c 100644 --- a/src/or/routerlist.h +++ b/src/or/routerlist.h @@ -213,7 +213,8 @@ STATIC int choose_array_element_by_weight(const u64_dbl_t *entries, STATIC void scale_array_elements_to_u64(u64_dbl_t *entries, int n_entries, uint64_t *total_out); -MOCK_DECL(int, router_descriptor_is_too_old, (const routerinfo_t *router)); +MOCK_DECL(int, router_descriptor_is_older_than, (const routerinfo_t *router, + int seconds)); #endif #endif |