Add the no_mangle attribute to fns

Add the no_mangle attribute to functions without it.
This commit is contained in:
Dan Robertson
2018-03-13 23:27:32 +00:00
parent 13b7119994
commit d3e44da527
2 changed files with 12 additions and 0 deletions
+1
View File
@@ -11,6 +11,7 @@ use fenv::{fegetround, FE_TONEAREST};
pub const FLT_RADIX: c_int = 2;
#[no_mangle]
pub unsafe extern "C" fn flt_rounds() -> c_int {
match fegetround() {
FE_TONEAREST => 1,