summaryrefslogtreecommitdiff
path: root/src/test/test_channel.c
diff options
context:
space:
mode:
authorAndrea Shepard <andrea@torproject.org>2014-01-21 00:58:27 -0800
committerAndrea Shepard <andrea@torproject.org>2014-09-30 23:09:14 -0700
commitbef11b715637ad28f6c8802adf6893e050c05d0a (patch)
treea99685d179a86033aa89fe9e7c281e605236c513 /src/test/test_channel.c
parent79b8f14c25ecbb4cda8fe587f18694dedd3ee9c0 (diff)
downloadtor-bef11b715637ad28f6c8802adf6893e050c05d0a.tar.gz
tor-bef11b715637ad28f6c8802adf6893e050c05d0a.zip
Expose a useful mock from test_channel.c
Diffstat (limited to 'src/test/test_channel.c')
-rw-r--r--src/test/test_channel.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/test_channel.c b/src/test/test_channel.c
index 1ab7f321bd..1ae9810d66 100644
--- a/src/test/test_channel.c
+++ b/src/test/test_channel.c
@@ -35,7 +35,6 @@ static int chan_test_write_packed_cell(channel_t *ch,
packed_cell_t *packed_cell);
static int chan_test_write_var_cell(channel_t *ch, var_cell_t *var_cell);
static void scheduler_channel_doesnt_want_writes_mock(channel_t *ch);
-static void scheduler_release_channel_mock(channel_t *ch);
static void test_channel_flush(void *arg);
static void test_channel_lifecycle(void *arg);
@@ -218,7 +217,7 @@ scheduler_channel_doesnt_want_writes_mock(channel_t *ch)
return;
}
-static void
+void
scheduler_release_channel_mock(channel_t *ch)
{
(void)ch;