commit 5e52beceb080864a0dfb570d9c8d1d10ccac3e88
parent 69502942b00ecc944437894b40b286cbfa3df928
Author: Nick Mathewson <nickm@torproject.org>
Date: Fri, 27 Oct 2017 13:03:24 -0400
Only prototype rust_welcome_string() when it exists.
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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 **********/