aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuitbuild.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-02-11 15:10:35 -0500
committerNick Mathewson <nickm@torproject.org>2015-02-11 15:10:35 -0500
commitb223b7c22d4bf0bd4d58987368523a2a07c6395e (patch)
tree21e218ccf0b76b41014c9de4eabaa3ed5d78f1bb /src/or/circuitbuild.h
parentd7a1e83f50f201df9ef35f48e31dd3cbdcd653e8 (diff)
downloadtor-b223b7c22d4bf0bd4d58987368523a2a07c6395e.tar.gz
tor-b223b7c22d4bf0bd4d58987368523a2a07c6395e.zip
fix a compilation warning
Diffstat (limited to 'src/or/circuitbuild.h')
-rw-r--r--src/or/circuitbuild.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/circuitbuild.h b/src/or/circuitbuild.h
index ddf86416fc..01563791b7 100644
--- a/src/or/circuitbuild.h
+++ b/src/or/circuitbuild.h
@@ -61,8 +61,10 @@ const node_t *choose_good_entry_server(uint8_t purpose,
#ifdef CIRCUITBUILD_PRIVATE
STATIC circid_t get_unique_circ_id_by_chan(channel_t *chan);
+#if defined(ENABLE_TOR2WEB_MODE) || defined(TOR_UNIT_TESTS)
STATIC const node_t *pick_tor2web_rendezvous_node(router_crn_flags_t flags,
const or_options_t *options);
+#endif
#endif