diff options
author | Isis Lovecruft <isis@torproject.org> | 2018-02-27 21:01:17 +0000 |
---|---|---|
committer | Isis Lovecruft <isis@torproject.org> | 2018-03-19 19:23:34 +0000 |
commit | 547c62840e2fc2700ac917dfdc4e6e451e5c1359 (patch) | |
tree | 9a3c832f687e0801a49bd47c04c8082108e1f190 /src/rust | |
parent | 167da4bc81da7de0214357cbe08404703bc8c86a (diff) | |
download | tor-547c62840e2fc2700ac917dfdc4e6e451e5c1359.tar.gz tor-547c62840e2fc2700ac917dfdc4e6e451e5c1359.zip |
rust: Remove #[no_mangle]s on two constants.
These won't/shouldn't ever be called from C, so there's no reason to
preserve naming.
Diffstat (limited to 'src/rust')
-rw-r--r-- | src/rust/tor_log/tor_log.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/rust/tor_log/tor_log.rs b/src/rust/tor_log/tor_log.rs index df032c51f6..1fdc0026bf 100644 --- a/src/rust/tor_log/tor_log.rs +++ b/src/rust/tor_log/tor_log.rs @@ -97,7 +97,6 @@ pub mod log { /// Severity log types. These mirror definitions in /src/common/torlog.h /// C_RUST_COUPLED: src/common/log.c, log domain types extern "C" { - #[no_mangle] static LOG_WARN_: c_int; static LOG_NOTICE_: c_int; } @@ -105,7 +104,6 @@ pub mod log { /// Domain log types. These mirror definitions in /src/common/torlog.h /// C_RUST_COUPLED: src/common/log.c, log severity types extern "C" { - #[no_mangle] static LD_NET_: u32; static LD_GENERAL_: u32; } |