commit 5e52beceb080864a0dfb570d9c8d1d10ccac3e88 Author: Nick Mathewson <ni...@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 **********/ _______________________________________________ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits