aboutsummaryrefslogtreecommitdiff
path: root/src/lib/net
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-02-10 12:54:43 -0500
committerNick Mathewson <nickm@torproject.org>2020-02-10 12:54:43 -0500
commitd9e211ab7025acce3eb3a96d85791caff52ce095 (patch)
tree85b01ee7ca6ec8d07b312a77a2bb17a39e0a03a6 /src/lib/net
parenta9cc4ce0eb916255b447b7943c3a72a9feaccff9 (diff)
downloadtor-d9e211ab7025acce3eb3a96d85791caff52ce095.tar.gz
tor-d9e211ab7025acce3eb3a96d85791caff52ce095.zip
Use semicolons after HT_PROTOTYPE and HT_GENERATE.
Diffstat (limited to 'src/lib/net')
-rw-r--r--src/lib/net/resolve.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/net/resolve.c b/src/lib/net/resolve.c
index df079d5db3..68a8c01ef4 100644
--- a/src/lib/net/resolve.c
+++ b/src/lib/net/resolve.c
@@ -372,11 +372,11 @@ static HT_HEAD(getaddrinfo_cache, cached_getaddrinfo_item_t)
HT_PROTOTYPE(getaddrinfo_cache, cached_getaddrinfo_item_t, node,
cached_getaddrinfo_item_hash,
- cached_getaddrinfo_items_eq)
+ cached_getaddrinfo_items_eq);
HT_GENERATE2(getaddrinfo_cache, cached_getaddrinfo_item_t, node,
cached_getaddrinfo_item_hash,
cached_getaddrinfo_items_eq,
- 0.6, tor_reallocarray_, tor_free_)
+ 0.6, tor_reallocarray_, tor_free_);
/** If true, don't try to cache getaddrinfo results. */
static int sandbox_getaddrinfo_cache_disabled = 0;