diff --git a/rules/time/tgt_refcount.rs b/rules/time/tgt_refcount.rs index c1550b026..5c3b48694 100644 --- a/rules/time/tgt_refcount.rs +++ b/rules/time/tgt_refcount.rs @@ -164,15 +164,15 @@ fn f8(a0: Ptr, a1: AnyPtr) -> i32 { } } -unsafe fn f9() -> nix::time::ClockId { +fn f9() -> nix::time::ClockId { nix::time::ClockId::CLOCK_REALTIME } -unsafe fn f10() -> nix::time::ClockId { +fn f10() -> nix::time::ClockId { nix::time::ClockId::CLOCK_MONOTONIC } #[cfg(target_os = "linux")] -unsafe fn f11() -> nix::time::ClockId { +fn f11() -> nix::time::ClockId { nix::time::ClockId::CLOCK_MONOTONIC_RAW }