diff options
author | Andrea Shepard <andrea@torproject.org> | 2012-10-08 20:10:13 -0700 |
---|---|---|
committer | Andrea Shepard <andrea@torproject.org> | 2012-10-08 20:10:13 -0700 |
commit | 8a41dd20cb43b16548b49f9eff581dba0ed9a9a1 (patch) | |
tree | 8c4ee7b12224f1b2cb39b47f7f2f203feb74eb4a /src | |
parent | 123a08e4a33f6750c3857c5c7ed3515bb196db53 (diff) | |
download | tor-8a41dd20cb43b16548b49f9eff581dba0ed9a9a1.tar.gz tor-8a41dd20cb43b16548b49f9eff581dba0ed9a9a1.zip |
Make channel_force_free() static
Diffstat (limited to 'src')
-rw-r--r-- | src/or/channel.c | 4 | ||||
-rw-r--r-- | src/or/channel.h | 1 |
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 */ |