aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Perry <mikeperry-git@fscked.org>2012-11-19 11:31:35 -0800
committerMike Perry <mikeperry-git@fscked.org>2012-12-07 15:28:38 -0800
commita630726884c434323d6af558b80f992fc018d255 (patch)
tree5b5de5af8e94b745b9a55fb2ec9fffec8c513b67
parent7f8cbe389d095f673bfc03437e1f7521abae698b (diff)
downloadtor-a630726884c434323d6af558b80f992fc018d255.tar
tor-a630726884c434323d6af558b80f992fc018d255.tar.gz
Move a pathbias function that depends on entryguard_t.
-rw-r--r--src/or/circuitbuild.h4
-rw-r--r--src/or/entrynodes.h2
2 files changed, 2 insertions, 4 deletions
diff --git a/src/or/circuitbuild.h b/src/or/circuitbuild.h
index 325a583ed..2d9eac121 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 b9c805253..c3f7b1413 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