diff --git a/src/header/_fenv/mod.rs b/src/header/_fenv/mod.rs index 91680f97dd..15a84c5539 100644 --- a/src/header/_fenv/mod.rs +++ b/src/header/_fenv/mod.rs @@ -24,14 +24,14 @@ pub type fexcept_t = c_int; #[repr(C)] pub struct fenv_t { pub _unused: [u64; 2] } -#[unsafe(no_mangle)] pub unsafe extern "C" fn feclearexcept(_e: c_int) -> c_int { 0 } -#[unsafe(no_mangle)] pub unsafe extern "C" fn fegetenv(_ep: *mut fenv_t) -> c_int { 0 } -#[unsafe(no_mangle)] pub unsafe extern "C" fn fegetexceptflag(_fp: *mut fexcept_t, _e: c_int) -> c_int { 0 } -#[unsafe(no_mangle)] pub unsafe extern "C" fn fegetround() -> c_int { FE_TONEAREST } -#[unsafe(no_mangle)] pub unsafe extern "C" fn feholdexcept(_ep: *mut fenv_t) -> c_int { 0 } -#[unsafe(no_mangle)] pub unsafe extern "C" fn feraiseexcept(_e: c_int) -> c_int { 0 } -#[unsafe(no_mangle)] pub unsafe extern "C" fn fesetenv(_ep: *const fenv_t) -> c_int { 0 } -#[unsafe(no_mangle)] pub unsafe extern "C" fn fesetexceptflag(_fp: *const fexcept_t, _e: c_int) -> c_int { 0 } -#[unsafe(no_mangle)] pub unsafe extern "C" fn fesetround(_r: c_int) -> c_int { 0 } -#[unsafe(no_mangle)] pub unsafe extern "C" fn fetestexcept(_e: c_int) -> c_int { 0 } -#[unsafe(no_mangle)] pub unsafe extern "C" fn feupdateenv(_ep: *const fenv_t) -> c_int { 0 } +pub unsafe extern "C" fn feclearexcept(_e: c_int) -> c_int { 0 } +pub unsafe extern "C" fn fegetenv(_ep: *mut fenv_t) -> c_int { 0 } +pub unsafe extern "C" fn fegetexceptflag(_fp: *mut fexcept_t, _e: c_int) -> c_int { 0 } +pub unsafe extern "C" fn fegetround() -> c_int { FE_TONEAREST } +pub unsafe extern "C" fn feholdexcept(_ep: *mut fenv_t) -> c_int { 0 } +pub unsafe extern "C" fn feraiseexcept(_e: c_int) -> c_int { 0 } +pub unsafe extern "C" fn fesetenv(_ep: *const fenv_t) -> c_int { 0 } +pub unsafe extern "C" fn fesetexceptflag(_fp: *const fexcept_t, _e: c_int) -> c_int { 0 } +pub unsafe extern "C" fn fesetround(_r: c_int) -> c_int { 0 } +pub unsafe extern "C" fn fetestexcept(_e: c_int) -> c_int { 0 } +pub unsafe extern "C" fn feupdateenv(_ep: *const fenv_t) -> c_int { 0 }