[tor-commits] [tor/master] fix a compilation warning

nickm at torproject.org nickm at torproject.org
Wed Feb 11 20:10:42 UTC 2015


commit b223b7c22d4bf0bd4d58987368523a2a07c6395e
Author: Nick Mathewson <nickm at torproject.org>
Date:   Wed Feb 11 15:10:35 2015 -0500

    fix a compilation warning
---
 src/or/circuitbuild.h |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/or/circuitbuild.h b/src/or/circuitbuild.h
index ddf8641..0156379 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
 



More information about the tor-commits mailing list