aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorMike Perry <mikeperry-git@torproject.org>2018-05-09 04:00:59 +0000
committerNick Mathewson <nickm@torproject.org>2018-05-14 14:24:58 -0400
commitfd504587d56d4062bccb0d815f4fd925fb8eb33c (patch)
tree8610660a155c1031ee1a6bd771e0472f297e9a97 /src/or
parent08bfb87d1b049d6454e03eb056c94d96e833e782 (diff)
downloadtor-fd504587d56d4062bccb0d815f4fd925fb8eb33c.tar.gz
tor-fd504587d56d4062bccb0d815f4fd925fb8eb33c.zip
Bug 25903: Tests
Diffstat (limited to 'src/or')
-rw-r--r--src/or/relay.c5
-rw-r--r--src/or/relay.h4
2 files changed, 5 insertions, 4 deletions
diff --git a/src/or/relay.c b/src/or/relay.c
index 05f71efead..095d48fa5f 100644
--- a/src/or/relay.c
+++ b/src/or/relay.c
@@ -83,9 +83,6 @@ static edge_connection_t *relay_lookup_conn(circuit_t *circ, cell_t *cell,
cell_direction_t cell_direction,
crypt_path_t *layer_hint);
-static int connection_edge_process_relay_cell(cell_t *cell, circuit_t *circ,
- edge_connection_t *conn,
- crypt_path_t *layer_hint);
static void circuit_consider_sending_sendme(circuit_t *circ,
crypt_path_t *layer_hint);
static void circuit_resume_edge_reading(circuit_t *circ,
@@ -1412,7 +1409,7 @@ connection_edge_process_relay_cell_not_open(
*
* Return -reason if you want to warn and tear down the circuit, else 0.
*/
-static int
+STATIC int
connection_edge_process_relay_cell(cell_t *cell, circuit_t *circ,
edge_connection_t *conn,
crypt_path_t *layer_hint)
diff --git a/src/or/relay.h b/src/or/relay.h
index f304af684a..ce0969b46c 100644
--- a/src/or/relay.h
+++ b/src/or/relay.h
@@ -114,6 +114,10 @@ STATIC packed_cell_t *packed_cell_new(void);
STATIC packed_cell_t *cell_queue_pop(cell_queue_t *queue);
STATIC destroy_cell_t *destroy_cell_queue_pop(destroy_cell_queue_t *queue);
STATIC int cell_queues_check_size(void);
+STATIC int connection_edge_process_relay_cell(cell_t *cell, circuit_t *circ,
+ edge_connection_t *conn,
+ crypt_path_t *layer_hint);
+
#endif /* defined(RELAY_PRIVATE) */
#endif /* !defined(TOR_RELAY_H) */