From a630726884c434323d6af558b80f992fc018d255 Mon Sep 17 00:00:00 2001 From: Mike Perry Date: Mon, 19 Nov 2012 11:31:35 -0800 Subject: Move a pathbias function that depends on entryguard_t. --- src/or/circuitbuild.h | 4 ---- src/or/entrynodes.h | 2 ++ 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'src/or') diff --git a/src/or/circuitbuild.h b/src/or/circuitbuild.h index 325a583edb..2d9eac1215 100644 --- a/src/or/circuitbuild.h +++ b/src/or/circuitbuild.h @@ -60,8 +60,4 @@ void pathbias_count_successful_close(origin_circuit_t *circ); void pathbias_count_collapse(origin_circuit_t *circ); void pathbias_count_unusable(origin_circuit_t *circ); -typedef struct entry_guard_t entry_guard_t; -int pathbias_get_closed_count(entry_guard_t *gaurd); - #endif - diff --git a/src/or/entrynodes.h b/src/or/entrynodes.h index b9c8052533..c3f7b14134 100644 --- a/src/or/entrynodes.h +++ b/src/or/entrynodes.h @@ -111,5 +111,7 @@ int find_transport_by_bridge_addrport(const tor_addr_t *addr, uint16_t port, int validate_pluggable_transports_config(void); +int pathbias_get_closed_count(entry_guard_t *gaurd); + #endif -- cgit v1.2.3-54-g00ecf