[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit b223b7c22d4bf0bd4d58987368523a2a07c6395e
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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
 

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits