diff options
author | Rich Felker <dalias@aerifal.cx> | 2024-05-07 08:58:45 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2024-05-07 08:58:45 -0400 |
commit | 0dfa1d8caadb7b308740d7695b592c207bfad543 (patch) | |
tree | a01ae0d03f3c60dbb065082f6a33d83818897e04 | |
parent | ef600888d2916a2c7b7f2ec3bfa1e18997121b12 (diff) | |
download | musl-0dfa1d8caadb7b308740d7695b592c207bfad543.tar.gz musl-0dfa1d8caadb7b308740d7695b592c207bfad543.tar.xz musl-0dfa1d8caadb7b308740d7695b592c207bfad543.zip |
unify bits/stat.h for all archs sharing a common definition
future archs should not define their own bits/stat.h but use this generic one.
-rw-r--r-- | arch/generic/bits/stat.h (renamed from arch/aarch64/bits/stat.h) | 0 | ||||
-rw-r--r-- | arch/loongarch64/bits/stat.h | 18 | ||||
-rw-r--r-- | arch/riscv32/bits/stat.h | 18 | ||||
-rw-r--r-- | arch/riscv64/bits/stat.h | 18 |
4 files changed, 0 insertions, 54 deletions
diff --git a/arch/aarch64/bits/stat.h b/arch/generic/bits/stat.h index f6d9e864..f6d9e864 100644 --- a/arch/aarch64/bits/stat.h +++ b/arch/generic/bits/stat.h diff --git a/arch/loongarch64/bits/stat.h b/arch/loongarch64/bits/stat.h deleted file mode 100644 index f6d9e864..00000000 --- a/arch/loongarch64/bits/stat.h +++ /dev/null @@ -1,18 +0,0 @@ -struct stat { - dev_t st_dev; - ino_t st_ino; - mode_t st_mode; - nlink_t st_nlink; - uid_t st_uid; - gid_t st_gid; - dev_t st_rdev; - unsigned long long __pad; - off_t st_size; - blksize_t st_blksize; - int __pad2; - blkcnt_t st_blocks; - struct timespec st_atim; - struct timespec st_mtim; - struct timespec st_ctim; - unsigned __unused[2]; -}; diff --git a/arch/riscv32/bits/stat.h b/arch/riscv32/bits/stat.h deleted file mode 100644 index f6d9e864..00000000 --- a/arch/riscv32/bits/stat.h +++ /dev/null @@ -1,18 +0,0 @@ -struct stat { - dev_t st_dev; - ino_t st_ino; - mode_t st_mode; - nlink_t st_nlink; - uid_t st_uid; - gid_t st_gid; - dev_t st_rdev; - unsigned long long __pad; - off_t st_size; - blksize_t st_blksize; - int __pad2; - blkcnt_t st_blocks; - struct timespec st_atim; - struct timespec st_mtim; - struct timespec st_ctim; - unsigned __unused[2]; -}; diff --git a/arch/riscv64/bits/stat.h b/arch/riscv64/bits/stat.h deleted file mode 100644 index f6d9e864..00000000 --- a/arch/riscv64/bits/stat.h +++ /dev/null @@ -1,18 +0,0 @@ -struct stat { - dev_t st_dev; - ino_t st_ino; - mode_t st_mode; - nlink_t st_nlink; - uid_t st_uid; - gid_t st_gid; - dev_t st_rdev; - unsigned long long __pad; - off_t st_size; - blksize_t st_blksize; - int __pad2; - blkcnt_t st_blocks; - struct timespec st_atim; - struct timespec st_mtim; - struct timespec st_ctim; - unsigned __unused[2]; -}; |