diff options
author | teor <teor@torproject.org> | 2020-04-15 12:08:46 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2020-04-29 22:43:09 +1000 |
commit | f8f688b3097d4aeaabc3f91d644c28540c8c9548 (patch) | |
tree | 25a24dc9c87cf6a4324bda4c5496e332f270de91 /src/core | |
parent | bad1181b5d1bef55e060d64a9d4ef9278619495b (diff) | |
download | tor-f8f688b3097d4aeaabc3f91d644c28540c8c9548.tar.gz tor-f8f688b3097d4aeaabc3f91d644c28540c8c9548.zip |
channel: Make channel_matches_target_addr_for_extend() static
It isn't used outside channel.c.
Part of 33817.
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/or/channel.c | 5 | ||||
-rw-r--r-- | src/core/or/channel.h | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/core/or/channel.c b/src/core/or/channel.c index 75054aa0c4..89804826a3 100644 --- a/src/core/or/channel.c +++ b/src/core/or/channel.c @@ -83,6 +83,11 @@ #include "core/or/cell_queue_st.h" +/* Static function prototypes */ + +static int channel_matches_target_addr_for_extend(channel_t *chan, + const tor_addr_t *target); + /* Global lists of channels */ /* All channel_t instances */ diff --git a/src/core/or/channel.h b/src/core/or/channel.h index 49331d5d58..f86e77992d 100644 --- a/src/core/or/channel.h +++ b/src/core/or/channel.h @@ -737,8 +737,6 @@ int channel_is_outgoing(channel_t *chan); void channel_mark_client(channel_t *chan); void channel_clear_client(channel_t *chan); int channel_matches_extend_info(channel_t *chan, extend_info_t *extend_info); -int channel_matches_target_addr_for_extend(channel_t *chan, - const tor_addr_t *target); unsigned int channel_num_circuits(channel_t *chan); MOCK_DECL(void,channel_set_circid_type,(channel_t *chan, crypto_pk_t *identity_rcvd, |