mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Make channel_force_free() static
This commit is contained in:
parent
123a08e4a3
commit
8a41dd20cb
@ -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);
|
||||
|
@ -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 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user