aboutsummaryrefslogtreecommitdiff
path: root/src/or/nodelist.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-06-02 09:09:37 -0400
committerNick Mathewson <nickm@torproject.org>2016-06-11 10:11:54 -0400
commit80f1a2cbbdd0abd509711a5069f31855df5bcd79 (patch)
tree0500eb46d12dd6cf70d1a48e1c6206cb738a9bd7 /src/or/nodelist.c
parentc3adbf755b0bb6f77488a268dbc4f2bdc0e59b01 (diff)
downloadtor-80f1a2cbbdd0abd509711a5069f31855df5bcd79.tar.gz
tor-80f1a2cbbdd0abd509711a5069f31855df5bcd79.zip
Add the -Wextra-semi warning from clang, and fix the cases where it triggers
Diffstat (limited to 'src/or/nodelist.c')
-rw-r--r--src/or/nodelist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/nodelist.c b/src/or/nodelist.c
index 89b5355c8d..a49bf03f61 100644
--- a/src/or/nodelist.c
+++ b/src/or/nodelist.c
@@ -77,7 +77,7 @@ node_id_eq(const node_t *node1, const node_t *node2)
return tor_memeq(node1->identity, node2->identity, DIGEST_LEN);
}
-HT_PROTOTYPE(nodelist_map, node_t, ht_ent, node_id_hash, node_id_eq);
+HT_PROTOTYPE(nodelist_map, node_t, ht_ent, node_id_hash, node_id_eq)
HT_GENERATE2(nodelist_map, node_t, ht_ent, node_id_hash, node_id_eq,
0.6, tor_reallocarray_, tor_free_)