Skip to content

Commit

Permalink
fix(abi): clockid_t
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Kröning <[email protected]>
  • Loading branch information
mkroening committed May 7, 2024
1 parent 0ae6041 commit d2e5c03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hermit-abi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ pub const LOW_PRIO: Priority = Priority::from(1);
pub struct Handle(usize);

pub const FUTEX_RELATIVE_TIMEOUT: u32 = 1;
pub const CLOCK_REALTIME: u64 = 1;
pub const CLOCK_MONOTONIC: u64 = 4;
pub const CLOCK_REALTIME: clockid_t = 1;
pub const CLOCK_MONOTONIC: clockid_t = 4;
pub const STDIN_FILENO: c_int = 0;
pub const STDOUT_FILENO: c_int = 1;
pub const STDERR_FILENO: c_int = 2;
Expand Down

0 comments on commit d2e5c03

Please sign in to comment.