diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-02-10 12:54:43 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-02-10 12:54:43 -0500 |
commit | d9e211ab7025acce3eb3a96d85791caff52ce095 (patch) | |
tree | 85b01ee7ca6ec8d07b312a77a2bb17a39e0a03a6 /src/core/or/channel.c | |
parent | a9cc4ce0eb916255b447b7943c3a72a9feaccff9 (diff) | |
download | tor-d9e211ab7025acce3eb3a96d85791caff52ce095.tar.gz tor-d9e211ab7025acce3eb3a96d85791caff52ce095.zip |
Use semicolons after HT_PROTOTYPE and HT_GENERATE.
Diffstat (limited to 'src/core/or/channel.c')
-rw-r--r-- | src/core/or/channel.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/or/channel.c b/src/core/or/channel.c index d52dc14a32..ce1c31914c 100644 --- a/src/core/or/channel.c +++ b/src/core/or/channel.c @@ -119,10 +119,10 @@ channel_id_eq(const channel_t *a, const channel_t *b) return a->global_identifier == b->global_identifier; } HT_PROTOTYPE(channel_gid_map, channel_t, gidmap_node, - channel_id_hash, channel_id_eq) + channel_id_hash, channel_id_eq); HT_GENERATE2(channel_gid_map, channel_t, gidmap_node, channel_id_hash, channel_id_eq, - 0.6, tor_reallocarray_, tor_free_) + 0.6, tor_reallocarray_, tor_free_); HANDLE_IMPL(channel, channel_t,) @@ -160,9 +160,9 @@ channel_idmap_eq(const channel_idmap_entry_t *a, } HT_PROTOTYPE(channel_idmap, channel_idmap_entry_t, node, channel_idmap_hash, - channel_idmap_eq) + channel_idmap_eq); HT_GENERATE2(channel_idmap, channel_idmap_entry_t, node, channel_idmap_hash, - channel_idmap_eq, 0.5, tor_reallocarray_, tor_free_) + channel_idmap_eq, 0.5, tor_reallocarray_, tor_free_); /* Functions to maintain the digest map */ static void channel_remove_from_digest_map(channel_t *chan); |