Skip to content

Commit 585e752

Browse files
committed
Remove clock_settime from macOS
Doesn't work on iOS.
1 parent ffba97f commit 585e752

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/unix/bsd/apple/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1984,7 +1984,6 @@ extern {
19841984
pub fn aio_cancel(fd: ::c_int, aiocbp: *mut aiocb) -> ::c_int;
19851985
pub fn clock_getres(clk_id: ::clockid_t, tp: *mut ::timespec) -> ::c_int;
19861986
pub fn clock_gettime(clk_id: ::clockid_t, tp: *mut ::timespec) -> ::c_int;
1987-
pub fn clock_settime(clk_id: ::clockid_t, tp: *const ::timespec) -> ::c_int;
19881987
pub fn lio_listio(mode: ::c_int, aiocb_list: *const *mut aiocb,
19891988
nitems: ::c_int, sevp: *mut sigevent) -> ::c_int;
19901989

0 commit comments

Comments
 (0)