From 3380dc9cc0a8cdaae0dbd3e8b7c11e4ccdab504d Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 15 Jul 2011 12:31:09 -0400 Subject: Remove compare_addr_to_addr_policy Nothing used it but the unit tests; everything else knows to use compare_tor_addr_to_addr_policy instead. --- src/or/policies.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/or/policies.h') diff --git a/src/or/policies.h b/src/or/policies.h index 6f3624aba1..9859b008cf 100644 --- a/src/or/policies.h +++ b/src/or/policies.h @@ -37,8 +37,6 @@ addr_policy_t *addr_policy_get_canonical_entry(addr_policy_t *ent); int cmp_addr_policies(smartlist_t *a, smartlist_t *b); addr_policy_result_t compare_tor_addr_to_addr_policy(const tor_addr_t *addr, uint16_t port, const smartlist_t *policy); -addr_policy_result_t compare_addr_to_addr_policy(uint32_t addr, - uint16_t port, const smartlist_t *policy); addr_policy_result_t compare_addr_to_node_policy(uint32_t addr, uint16_t port, const node_t *node); -- cgit v1.2.3-54-g00ecf