mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-08 21:06:48 +00:00
Fix unused warning of UtimeExt
This commit is contained in:
parent
d538c740ee
commit
d3c172013a
@ -202,9 +202,9 @@ fn read_time_from_user<T: Pod>(time_ptr: Vaddr) -> Result<(T, T)> {
|
||||
Ok((autime, mutime))
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
trait UtimeExt {
|
||||
fn utime_now() -> Self;
|
||||
#[allow(dead_code)]
|
||||
fn utime_omit() -> Self;
|
||||
fn is_utime_now(&self) -> bool;
|
||||
fn is_utime_omit(&self) -> bool;
|
||||
|
Loading…
x
Reference in New Issue
Block a user