summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-09-16 13:45:43 -0400
committerNick Mathewson <nickm@torproject.org>2018-09-16 13:45:43 -0400
commit7fd61cf536543283353b618d5bba9a1db637ed14 (patch)
treed3a8ebbd3622c9b9467b39e968332adae538d891
parentce894e20b597d2d21b56ac8a8f13d1ea4063731d (diff)
downloadtor-7fd61cf536543283353b618d5bba9a1db637ed14.tar.gz
tor-7fd61cf536543283353b618d5bba9a1db637ed14.zip
Fix duplicate declaration of pathbias_count_valid_cells.
-rw-r--r--src/test/test_relaycell.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/test/test_relaycell.c b/src/test/test_relaycell.c
index 3f84ee8303..ee495cadac 100644
--- a/src/test/test_relaycell.c
+++ b/src/test/test_relaycell.c
@@ -31,8 +31,8 @@ void connection_free_minimal(connection_t*);
int connected_cell_format_payload(uint8_t *payload_out,
const tor_addr_t *addr,
uint32_t ttl);
-int pathbias_count_valid_cells(origin_circuit_t *circ,
- cell_t *cell);
+void pathbias_count_valid_cells(origin_circuit_t *circ,
+ cell_t *cell);
half_edge_t *connection_half_edge_find_stream_id(
const smartlist_t *half_conns,
streamid_t stream_id);
@@ -1072,4 +1072,3 @@ struct testcase_t relaycell_tests[] = {
{ "streamwrap", test_halfstream_wrap, TT_FORK, NULL, NULL },
END_OF_TESTCASES
};
-