diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-07-19 09:04:24 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-07-19 09:06:11 -0400 |
commit | 24451e6f7d6813642cc3b092bf085fdbb4a9aefc (patch) | |
tree | 8a0de013e46805f1f6feda01231fe05fbe9528f1 /src/or/circuitbuild.h | |
parent | f8c9cc713d608fcd37d25730e91a88d4a1081f28 (diff) | |
download | tor-24451e6f7d6813642cc3b092bf085fdbb4a9aefc.tar.gz tor-24451e6f7d6813642cc3b092bf085fdbb4a9aefc.zip |
Avoid double-typedef of transport_t.
You can say "struct foo_t" as much as you want, but you'd better not
have "typedef struct foo_t foo_t" more than once.
Fix for bug 6416. Bug not in any released version of Tor.
Diffstat (limited to 'src/or/circuitbuild.h')
-rw-r--r-- | src/or/circuitbuild.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/circuitbuild.h b/src/or/circuitbuild.h index a7beccebb6..d4a78b9e1e 100644 --- a/src/or/circuitbuild.h +++ b/src/or/circuitbuild.h @@ -137,9 +137,9 @@ int circuit_build_times_get_bw_scale(networkstatus_t *ns); /* DOCDOC find_transport_name_by_bridge_addrport */ const char *find_transport_name_by_bridge_addrport(const tor_addr_t *addr, uint16_t port); -typedef struct transport_t transport_t; +struct transport_t; int find_transport_by_bridge_addrport(const tor_addr_t *addr, uint16_t port, - const transport_t **transport); + const struct transport_t **transport); #endif |