]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix duplicate declaration of pathbias_count_valid_cells.
authorNick Mathewson <nickm@torproject.org>
Sun, 16 Sep 2018 17:45:43 +0000 (13:45 -0400)
committerNick Mathewson <nickm@torproject.org>
Sun, 16 Sep 2018 17:45:43 +0000 (13:45 -0400)
src/test/test_relaycell.c

index 3f84ee830323d0ac52e802a421387cb8bf625d84..ee495cadaca717e36a4f6ede2798f6b137815730 100644 (file)
@@ -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
 };
-