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.
This commit is contained in:
Isis Lovecruft 2018-02-27 21:01:17 +00:00
parent 167da4bc81
commit 547c62840e
No known key found for this signature in database
GPG Key ID: B8938BC5E86C046F

View File

@ -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;
}