rename bits_time to bits_timespec for consistency

This commit is contained in:
auronandace
2026-04-09 10:50:04 +01:00
parent 6530de76b9
commit 49f96a96e6
36 changed files with 40 additions and 38 deletions
+3 -4
View File
@@ -4,7 +4,9 @@ use core::arch::asm;
use super::{Pal, types::*};
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},
@@ -14,6 +16,7 @@ use crate::{
sys_stat::{S_IFIFO, stat},
sys_statvfs::statvfs,
sys_time::timezone,
sys_utsname::utsname,
time::itimerspec,
unistd::{SEEK_CUR, SEEK_SET},
},
@@ -22,10 +25,6 @@ use crate::{
};
use core::{num::NonZeroU64, ptr};
// use header::sys_times::tms;
use crate::{
error::{Errno, Result},
header::{bits_time::timespec, sys_utsname::utsname},
};
mod epoll;
mod ptrace;
+1 -1
View File
@@ -13,7 +13,7 @@ use super::{
use crate::{
error::{Errno, Result},
header::{
bits_time::timespec,
bits_timespec::timespec,
signal::{SA_RESTORER, SI_QUEUE, sigaction, siginfo_t, sigset_t, sigval, stack_t},
sys_select::timeval,
sys_time::{self, itimerval},