Skip to content

Commit 00fc492

Browse files
bossmctgross35
authored andcommitted
glibc: Remove redundant definitions
These are redundant as they are exported from higher-level modules. [ extract this commit to only cover glibc - Trevor ] (backport <rust-lang#3261>) (cherry picked from commit ca7eedd)
1 parent 3a27abe commit 00fc492

File tree

2 files changed

+0
-30
lines changed

2 files changed

+0
-30
lines changed

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

-15
Original file line numberDiff line numberDiff line change
@@ -70,21 +70,6 @@ s! {
7070
pub f_spare: [::c_long; 4],
7171
}
7272

73-
pub struct statvfs {
74-
pub f_bsize: ::c_ulong,
75-
pub f_frsize: ::c_ulong,
76-
pub f_blocks: ::fsblkcnt_t,
77-
pub f_bfree: ::fsblkcnt_t,
78-
pub f_bavail: ::fsblkcnt_t,
79-
pub f_files: ::fsfilcnt_t,
80-
pub f_ffree: ::fsfilcnt_t,
81-
pub f_favail: ::fsfilcnt_t,
82-
pub f_fsid: ::c_ulong,
83-
pub f_flag: ::c_ulong,
84-
pub f_namemax: ::c_ulong,
85-
pub __f_spare: [::c_int; 6],
86-
}
87-
8873
pub struct statvfs64 {
8974
pub f_bsize: ::c_ulong,
9075
pub f_frsize: ::c_ulong,

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

-15
Original file line numberDiff line numberDiff line change
@@ -94,21 +94,6 @@ s! {
9494
pub f_spare: [::__fsword_t; 4],
9595
}
9696

97-
pub struct statvfs {
98-
pub f_bsize: ::c_ulong,
99-
pub f_frsize: ::c_ulong,
100-
pub f_blocks: ::fsblkcnt_t,
101-
pub f_bfree: ::fsblkcnt_t,
102-
pub f_bavail: ::fsblkcnt_t,
103-
pub f_files: ::fsfilcnt_t,
104-
pub f_ffree: ::fsfilcnt_t,
105-
pub f_favail: ::fsfilcnt_t,
106-
pub f_fsid: ::c_ulong,
107-
pub f_flag: ::c_ulong,
108-
pub f_namemax: ::c_ulong,
109-
__f_spare: [::c_int; 6],
110-
}
111-
11297
pub struct statvfs64 {
11398
pub f_bsize: ::c_ulong,
11499
pub f_frsize: ::c_ulong,

0 commit comments

Comments
 (0)