mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
Only prototype rust_welcome_string() when it exists.
This commit is contained in:
parent
69502942b0
commit
5e52beceb0
@ -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 **********/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user