aboutsummaryrefslogtreecommitdiff
path: root/src/feature/nodelist/dirlist.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2020-02-11 10:15:04 -0500
committerDavid Goulet <dgoulet@torproject.org>2020-02-11 10:15:04 -0500
commit33414e5494b56f3f677d022bfb4bb1ed99191032 (patch)
tree32619c30742fa06de03ad49dfede27077b9833f5 /src/feature/nodelist/dirlist.h
parent6d9113d2f65b6e3142efdaa91a5b4761cd197be8 (diff)
downloadtor-33414e5494b56f3f677d022bfb4bb1ed99191032.tar.gz
tor-33414e5494b56f3f677d022bfb4bb1ed99191032.zip
test: Add unit test for connection_dir_is_global_write_low()
Part of #33029 Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/feature/nodelist/dirlist.h')
-rw-r--r--src/feature/nodelist/dirlist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/nodelist/dirlist.h b/src/feature/nodelist/dirlist.h
index d302ff5f6c..d4bdb4cedc 100644
--- a/src/feature/nodelist/dirlist.h
+++ b/src/feature/nodelist/dirlist.h
@@ -44,6 +44,6 @@ void dir_server_add(dir_server_t *ent);
void clear_dir_servers(void);
void dirlist_free_all(void);
-void dirlist_add_trusted_addresses(void);
+MOCK_DECL(void, dirlist_add_trusted_addresses, (void));
#endif /* !defined(TOR_DIRLIST_H) */