summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/or/channel.c4
-rw-r--r--src/or/channel.h1
2 files changed, 3 insertions, 2 deletions
diff --git a/src/or/channel.c b/src/or/channel.c
index 2ca9a13238..469dc5d617 100644
--- a/src/or/channel.c
+++ b/src/or/channel.c
@@ -86,6 +86,8 @@ static ssize_t
channel_flush_some_cells_from_outgoing_queue(channel_t *chan,
ssize_t num_cells);
+static void channel_force_free(channel_t *chan);
+
/***********************************
* Channel state utility functions *
**********************************/
@@ -753,7 +755,7 @@ channel_free(channel_t *chan)
* it should only be used from channel_free_all() when shutting down.
*/
-void
+static void
channel_force_free(channel_t *chan)
{
tor_assert(chan);
diff --git a/src/or/channel.h b/src/or/channel.h
index fbcd38d370..fac2b3bb9f 100644
--- a/src/or/channel.h
+++ b/src/or/channel.h
@@ -285,7 +285,6 @@ void channel_closed(channel_t *chan);
/* Free a channel */
void channel_free(channel_t *chan);
-void channel_force_free(channel_t *chan);
/* State/metadata setters */