summaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-10-27 13:03:24 -0400
committerNick Mathewson <nickm@torproject.org>2017-10-27 13:03:24 -0400
commit5e52beceb080864a0dfb570d9c8d1d10ccac3e88 (patch)
tree9d75e0b2c4c9aed84f233ef7fcadbea1f7594b54 /src/or/main.c
parent69502942b00ecc944437894b40b286cbfa3df928 (diff)
downloadtor-5e52beceb080864a0dfb570d9c8d1d10ccac3e88.tar.gz
tor-5e52beceb080864a0dfb570d9c8d1d10ccac3e88.zip
Only prototype rust_welcome_string() when it exists.
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c
index b9d261e098..bc47c9eb26 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 **********/