Only prototype rust_welcome_string() when it exists.

This commit is contained in:
Nick Mathewson 2017-10-27 13:03:24 -04:00
parent 69502942b0
commit 5e52beceb0

View File

@ -127,9 +127,11 @@
void evdns_shutdown(int); void evdns_shutdown(int);
#ifdef HAVE_RUST
// helper function defined in Rust to output a log message indicating if tor is // helper function defined in Rust to output a log message indicating if tor is
// running with Rust enabled. See src/rust/tor_util // running with Rust enabled. See src/rust/tor_util
char *rust_welcome_string(void); char *rust_welcome_string(void);
#endif
/********* PROTOTYPES **********/ /********* PROTOTYPES **********/