import timespec from time rather than bits

This commit is contained in:
auronandace
2026-05-03 14:33:39 +01:00
parent 135753d0e6
commit 05b8ffbcb7
27 changed files with 32 additions and 46 deletions
+1 -2
View File
@@ -6,7 +6,6 @@ use crate::{
c_str::CStr,
error::{Errno, Result},
header::{
bits_timespec::timespec,
dirent::dirent,
errno::{EINVAL, EIO},
fcntl::{AT_EMPTY_PATH, AT_FDCWD, AT_REMOVEDIR},
@@ -17,7 +16,7 @@ use crate::{
sys_statvfs::statvfs,
sys_time::timezone,
sys_utsname::utsname,
time::itimerspec,
time::{itimerspec, timespec},
unistd::{SEEK_CUR, SEEK_SET},
},
ld_so::tcb::OsSpecific,
+1 -2
View File
@@ -16,12 +16,11 @@ use crate::{
error::{Errno, Result},
header::{
bits_sigset_t::sigset_t,
bits_timespec::timespec,
signal::{
SA_RESTORER, SI_QUEUE, SIGALRM, SIGEV_SIGNAL, sigaction, sigevent, siginfo_t, sigval,
stack_t,
},
time,
time::{self, timespec},
},
out::Out,
platform::{self, Pal, types::timer_t},