aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerlist.h
diff options
context:
space:
mode:
authorTaylor Yu <catalyst@torproject.org>2017-04-21 20:17:27 -0400
committerNick Mathewson <nickm@torproject.org>2017-04-24 09:20:59 -0400
commit7bc636fdc937c5cd050cb243e5bebb8a52c1c144 (patch)
treecf5f3912ec5e8bdd363d64aacd3c2fd9f3b601ed /src/or/routerlist.h
parent8b89faf424e662d09bec57c96e923773438e737e (diff)
downloadtor-7bc636fdc937c5cd050cb243e5bebb8a52c1c144.tar.gz
tor-7bc636fdc937c5cd050cb243e5bebb8a52c1c144.zip
Add regression test for #22304
Diffstat (limited to 'src/or/routerlist.h')
-rw-r--r--src/or/routerlist.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/routerlist.h b/src/or/routerlist.h
index 5376369e8d..5c1f76c8e7 100644
--- a/src/or/routerlist.h
+++ b/src/or/routerlist.h
@@ -92,7 +92,8 @@ routerinfo_t *router_get_mutable_by_digest(const char *digest);
signed_descriptor_t *router_get_by_descriptor_digest(const char *digest);
MOCK_DECL(signed_descriptor_t *,router_get_by_extrainfo_digest,
(const char *digest));
-signed_descriptor_t *extrainfo_get_by_descriptor_digest(const char *digest);
+MOCK_DECL(signed_descriptor_t *,extrainfo_get_by_descriptor_digest,
+ (const char *digest));
const char *signed_descriptor_get_body(const signed_descriptor_t *desc);
const char *signed_descriptor_get_annotations(const signed_descriptor_t *desc);
routerlist_t *router_get_routerlist(void);