diff options
author | Dmitry Chestnykh <dm.chestnykh@gmail.com> | 2024-03-01 12:19:09 +0300 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2024-03-01 10:30:32 +0100 |
commit | 1be6cbd9c096618bdaf0f257e04ddd4ab0892fb9 (patch) | |
tree | 5dcc9513e2218d3543de8d8a527b85346f975936 /libc/sysdeps/linux/or1k/bits | |
parent | 2a8b04b20f65ab05d0639ba5f95cb28659a5c020 (diff) |
libc: Remove 32bit timespec structures everywhere.
With time64 enabled we use statx() system call and the appropriate
routines for results conversion. There is no need in `__ts32_struct`
anymore.
Signed-off-by: Dmitry Chestnykh <dm.chestnykh@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/or1k/bits')
-rw-r--r-- | libc/sysdeps/linux/or1k/bits/kernel_stat.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/libc/sysdeps/linux/or1k/bits/kernel_stat.h b/libc/sysdeps/linux/or1k/bits/kernel_stat.h index cec44ecfc..2e5eab901 100644 --- a/libc/sysdeps/linux/or1k/bits/kernel_stat.h +++ b/libc/sysdeps/linux/or1k/bits/kernel_stat.h @@ -1,10 +1,6 @@ #ifndef _BITS_STAT_STRUCT_H #define _BITS_STAT_STRUCT_H -#if defined(__UCLIBC_USE_TIME64__) -#include "internal/time64_helpers.h" -#endif - struct kernel_stat { unsigned long st_dev; /* Device. */ unsigned long st_ino; /* File serial number. */ @@ -18,15 +14,9 @@ struct kernel_stat { int st_blksize; /* Optimal block size for I/O. */ int __pad2; long st_blocks; /* Number 512-byte blocks allocated. */ -#if defined(__UCLIBC_USE_TIME64__) - struct __ts32_struct __st_atim32; - struct __ts32_struct __st_mtim32; - struct __ts32_struct __st_ctim32; -#else struct timespec st_atim; struct timespec st_mtim; struct timespec st_ctim; -#endif unsigned int __unused4; unsigned int __unused5; }; |