Skip to content

Commit 844d6b0

Browse files
committed
Use c_int instead of clockid_t for timerfd_create on illumos.
1 parent dde2391 commit 844d6b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/unix/solarish/illumos.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ extern "C" {
360360
loc: crate::locale_t,
361361
) -> c_int;
362362

363-
pub fn timerfd_create(clockid: crate::clockid_t, flags: c_int) -> c_int;
363+
pub fn timerfd_create(clockid: c_int, flags: c_int) -> c_int;
364364
pub fn timerfd_gettime(fd: c_int, curr_value: *mut crate::itimerspec) -> c_int;
365365
pub fn timerfd_settime(
366366
fd: c_int,

0 commit comments

Comments
 (0)