Browse Source

Fix duplicate declaration of pathbias_count_valid_cells.

Nick Mathewson 6 years ago
parent
commit
7fd61cf536
1 changed files with 2 additions and 3 deletions
  1. 2 3
      src/test/test_relaycell.c

+ 2 - 3
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
 };
-