Make channel_force_free() static

This commit is contained in:
Andrea Shepard 2012-10-08 20:10:13 -07:00
parent 123a08e4a3
commit 8a41dd20cb
No known key found for this signature in database
GPG Key ID: 80BF498218A1E61B
2 changed files with 3 additions and 2 deletions

View File

@ -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);

View File

@ -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 */