aboutsummaryrefslogtreecommitdiff
path: root/src/core/or/channel.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-07-13 10:10:25 -0400
committerNick Mathewson <nickm@torproject.org>2020-07-13 10:10:25 -0400
commit59133051f9040717f2f87aa5c2b051eadce2ebdf (patch)
tree54331997ef3a303f6a00aac377f6d90bfce91703 /src/core/or/channel.c
parentc84ce716dce09eb26f26e3303efa2c0a04a870b7 (diff)
downloadtor-59133051f9040717f2f87aa5c2b051eadce2ebdf.tar.gz
tor-59133051f9040717f2f87aa5c2b051eadce2ebdf.zip
Update channel_matches_target_addr_for_extend test to current API
Diffstat (limited to 'src/core/or/channel.c')
-rw-r--r--src/core/or/channel.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/core/or/channel.c b/src/core/or/channel.c
index e21f5a12ce..20ccf41306 100644
--- a/src/core/or/channel.c
+++ b/src/core/or/channel.c
@@ -83,13 +83,6 @@
#include "core/or/cell_queue_st.h"
-/* Static function prototypes */
-
-static bool channel_matches_target_addr_for_extend(
- channel_t *chan,
- const tor_addr_t *target_ipv4_addr,
- const tor_addr_t *target_ipv6_addr);
-
/* Global lists of channels */
/* All channel_t instances */
@@ -3317,7 +3310,7 @@ channel_matches_extend_info(channel_t *chan, extend_info_t *extend_info)
* This function calls into the lower layer and asks if this channel thinks
* it matches the target addresses for circuit extension purposes.
*/
-static bool
+STATIC bool
channel_matches_target_addr_for_extend(channel_t *chan,
const tor_addr_t *target_ipv4_addr,
const tor_addr_t *target_ipv6_addr)