aboutsummaryrefslogtreecommitdiff
path: root/src/or/channel.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-11-22 12:46:45 -0500
committerDavid Goulet <dgoulet@torproject.org>2017-11-22 15:50:13 -0500
commit36f1fb3be30f2563c7fa1eb220cb0484767adc28 (patch)
tree1ea1af0cc1659b76b4751ec84435ea6a50900981 /src/or/channel.c
parent47aaaf44032aa689dddbc13d07794b50a603c883 (diff)
downloadtor-36f1fb3be30f2563c7fa1eb220cb0484767adc28.tar.gz
tor-36f1fb3be30f2563c7fa1eb220cb0484767adc28.zip
test: Add unit test for channel_check_for_duplicates()
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/channel.c')
-rw-r--r--src/or/channel.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/channel.c b/src/or/channel.c
index ffa8270648..5a5a7e27d7 100644
--- a/src/or/channel.c
+++ b/src/or/channel.c
@@ -149,7 +149,6 @@ HT_GENERATE2(channel_idmap, channel_idmap_entry_s, node, channel_idmap_hash,
channel_idmap_eq, 0.5, tor_reallocarray_, tor_free_)
/* Functions to maintain the digest map */
-static void channel_add_to_digest_map(channel_t *chan);
static void channel_remove_from_digest_map(channel_t *chan);
static void channel_force_free(channel_t *chan);
@@ -551,7 +550,7 @@ channel_listener_unregister(channel_listener_t *chan_l)
* already exist.
*/
-static void
+STATIC void
channel_add_to_digest_map(channel_t *chan)
{
channel_idmap_entry_t *ent, search;