[tor/master] Only prototype rust_welcome_string() when it exists.

27 Oct
2017
27 Oct
'17
7:03 p.m.
commit 5e52beceb080864a0dfb570d9c8d1d10ccac3e88 Author: Nick Mathewson <nickm@torproject.org> Date: Fri Oct 27 13:03:24 2017 -0400 Only prototype rust_welcome_string() when it exists. --- src/or/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/or/main.c b/src/or/main.c index b9d261e09..bc47c9eb2 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -127,9 +127,11 @@ void evdns_shutdown(int); +#ifdef HAVE_RUST // helper function defined in Rust to output a log message indicating if tor is // running with Rust enabled. See src/rust/tor_util char *rust_welcome_string(void); +#endif /********* PROTOTYPES **********/
2877
Age (days ago)
2877
Last active (days ago)
0 comments
1 participants
participants (1)
-
nickm@torproject.org