Skip to content

Commit 614c4c3

Browse files
committed
gnu powerpc: Make type statfs64 an alias for struct statfs
1 parent 71187e5 commit 614c4c3

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

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

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
pub type c_char = u8;
22
pub type wchar_t = i32;
33

4+
pub type statfs64 = statfs;
5+
46
s! {
57
pub struct sigaction {
68
pub sa_sigaction: ::sighandler_t,
@@ -76,21 +78,6 @@ s! {
7678
pub st_ctime_nsec: ::c_long,
7779
}
7880

79-
pub struct statfs64 {
80-
pub f_type: ::__fsword_t,
81-
pub f_bsize: ::__fsword_t,
82-
pub f_blocks: u64,
83-
pub f_bfree: u64,
84-
pub f_bavail: u64,
85-
pub f_files: u64,
86-
pub f_ffree: u64,
87-
pub f_fsid: ::fsid_t,
88-
pub f_namelen: ::__fsword_t,
89-
pub f_frsize: ::__fsword_t,
90-
pub f_flags: ::__fsword_t,
91-
pub f_spare: [::__fsword_t; 4],
92-
}
93-
9481
pub struct statvfs64 {
9582
pub f_bsize: ::c_ulong,
9683
pub f_frsize: ::c_ulong,

0 commit comments

Comments
 (0)