[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/maint-0.3.4] Fix duplicate declaration of pathbias_count_valid_cells.



commit 7fd61cf536543283353b618d5bba9a1db637ed14
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Sun Sep 16 13:45:43 2018 -0400

    Fix duplicate declaration of pathbias_count_valid_cells.
---
 src/test/test_relaycell.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/test/test_relaycell.c b/src/test/test_relaycell.c
index 3f84ee830..ee495cada 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
 };
-



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits