summaryrefslogtreecommitdiff
path: root/src/common/address.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-03-01 14:35:17 -0500
committerNick Mathewson <nickm@torproject.org>2013-03-01 14:35:17 -0500
commit24fb9267268cda0edd9f07ddb298dfe24af760d9 (patch)
tree9f9a0a6ec9a4a663271541c5b2e179f9a95f4fb6 /src/common/address.h
parentf6697d5b3bbd4fbb18362158b01346aab8915254 (diff)
downloadtor-24fb9267268cda0edd9f07ddb298dfe24af760d9.tar.gz
tor-24fb9267268cda0edd9f07ddb298dfe24af760d9.zip
Remove the unused parse_addr_and_port_range
Diffstat (limited to 'src/common/address.h')
-rw-r--r--src/common/address.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/common/address.h b/src/common/address.h
index 9cbc32ce9b..ec63257e60 100644
--- a/src/common/address.h
+++ b/src/common/address.h
@@ -219,9 +219,6 @@ int addr_port_lookup(int severity, const char *addrport, char **address,
uint32_t *addr, uint16_t *port_out);
int parse_port_range(const char *port, uint16_t *port_min_out,
uint16_t *port_max_out);
-int parse_addr_and_port_range(const char *s, uint32_t *addr_out,
- maskbits_t *maskbits_out, uint16_t *port_min_out,
- uint16_t *port_max_out);
int addr_mask_get_bits(uint32_t mask);
int addr_mask_cmp_bits(uint32_t a1, uint32_t a2, maskbits_t bits);
/** Length of a buffer to allocate to hold the results of tor_inet_ntoa.*/