diff options
author | Rich Felker <dalias@aerifal.cx> | 2024-05-07 08:55:55 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2024-05-07 08:55:55 -0400 |
commit | ef600888d2916a2c7b7f2ec3bfa1e18997121b12 (patch) | |
tree | cb1176262ed37d311a7cc08b28bf9cacf6fb78ca /arch | |
parent | 6f666231bf51703fadbef10460d462fb573548a1 (diff) | |
download | musl-ef600888d2916a2c7b7f2ec3bfa1e18997121b12.tar.gz musl-ef600888d2916a2c7b7f2ec3bfa1e18997121b12.tar.xz musl-ef600888d2916a2c7b7f2ec3bfa1e18997121b12.zip |
align aarch64, riscv64, loongarch64 stat structure padding type
this change is purely to document that they are the same in preparation to remove the arch-specific headers for these archs and replace them with a generic version that matches riscv32 and can be shared by these and all future archs.
Diffstat (limited to 'arch')
-rw-r--r-- | arch/aarch64/bits/stat.h | 2 | ||||
-rw-r--r-- | arch/loongarch64/bits/stat.h | 2 | ||||
-rw-r--r-- | arch/riscv64/bits/stat.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/arch/aarch64/bits/stat.h b/arch/aarch64/bits/stat.h index b7f4221b..f6d9e864 100644 --- a/arch/aarch64/bits/stat.h +++ b/arch/aarch64/bits/stat.h @@ -6,7 +6,7 @@ struct stat { uid_t st_uid; gid_t st_gid; dev_t st_rdev; - unsigned long __pad; + unsigned long long __pad; off_t st_size; blksize_t st_blksize; int __pad2; diff --git a/arch/loongarch64/bits/stat.h b/arch/loongarch64/bits/stat.h index b7f4221b..f6d9e864 100644 --- a/arch/loongarch64/bits/stat.h +++ b/arch/loongarch64/bits/stat.h @@ -6,7 +6,7 @@ struct stat { uid_t st_uid; gid_t st_gid; dev_t st_rdev; - unsigned long __pad; + unsigned long long __pad; off_t st_size; blksize_t st_blksize; int __pad2; diff --git a/arch/riscv64/bits/stat.h b/arch/riscv64/bits/stat.h index b7f4221b..f6d9e864 100644 --- a/arch/riscv64/bits/stat.h +++ b/arch/riscv64/bits/stat.h @@ -6,7 +6,7 @@ struct stat { uid_t st_uid; gid_t st_gid; dev_t st_rdev; - unsigned long __pad; + unsigned long long __pad; off_t st_size; blksize_t st_blksize; int __pad2; |