Skip to content

Commit d12be79

Browse files
committed
drop unnecessary no_mangle annotations on non-exported functions
1 parent 58f946f commit d12be79

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

secp256k1-sys/src/lib.rs

-2
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,6 @@ pub unsafe extern "C" fn rustsecp256k1_v0_4_0_default_error_callback_fn(message:
626626
panic!("[libsecp256k1] internal consistency check failed {}", msg);
627627
}
628628

629-
#[no_mangle]
630629
#[cfg(not(rust_secp_no_symbol_renaming))]
631630
unsafe fn strlen(mut str_ptr: *const c_char) -> usize {
632631
let mut ctr = 0;
@@ -761,7 +760,6 @@ pub use self::fuzz_dummy::*;
761760

762761
#[cfg(test)]
763762
mod tests {
764-
#[no_mangle]
765763
#[cfg(not(rust_secp_no_symbol_renaming))]
766764
#[test]
767765
fn test_strlen() {

0 commit comments

Comments
 (0)