Skip to content

Commit 721f07b

Browse files
committed
riscv32: Alias statfs64
1 parent c9dc376 commit 721f07b

File tree

2 files changed

+1
-15
lines changed

2 files changed

+1
-15
lines changed

src/unix/linux_like/linux/gnu/b32/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ cfg_if! {
4848
cfg_if! {
4949
if #[cfg(target_arch = "riscv32")] {
5050
pub type statvfs64 = statvfs;
51+
pub type statfs64 = statfs;
5152
}
5253
}
5354

src/unix/linux_like/linux/gnu/b32/riscv32/mod.rs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -59,21 +59,6 @@ s! {
5959
pub f_spare: [::c_long; 4],
6060
}
6161

62-
pub struct statfs64 {
63-
pub f_type: ::c_long,
64-
pub f_bsize: ::c_long,
65-
pub f_blocks: ::fsblkcnt64_t,
66-
pub f_bfree: ::fsblkcnt64_t,
67-
pub f_bavail: ::fsblkcnt64_t,
68-
pub f_files: ::fsfilcnt64_t,
69-
pub f_ffree: ::fsfilcnt64_t,
70-
pub f_fsid: ::fsid_t,
71-
pub f_namelen: ::c_long,
72-
pub f_frsize: ::c_long,
73-
pub f_flags: ::c_long,
74-
pub f_spare: [::c_long; 4],
75-
}
76-
7762
pub struct statvfs {
7863
pub f_bsize: ::c_ulong,
7964
pub f_frsize: ::c_ulong,

0 commit comments

Comments
 (0)