Skip to content

Commit 9d4dbe1

Browse files
committed
gnu x86_64: Make type statvfs64 an alias for struct statvfs
1 parent 614c4c3 commit 9d4dbe1

File tree

1 file changed

+1
-15
lines changed
  • src/unix/linux_like/linux/gnu/b64/x86_64

1 file changed

+1
-15
lines changed

src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ pub type __u64 = ::c_ulonglong;
1010
pub type __s64 = ::c_longlong;
1111

1212
pub type statfs64 = statfs;
13+
pub type statvfs64 = statvfs;
1314

1415
s! {
1516
pub struct sigaction {
@@ -116,21 +117,6 @@ s! {
116117
__reserved: [i64; 3],
117118
}
118119

119-
pub struct statvfs64 {
120-
pub f_bsize: ::c_ulong,
121-
pub f_frsize: ::c_ulong,
122-
pub f_blocks: u64,
123-
pub f_bfree: u64,
124-
pub f_bavail: u64,
125-
pub f_files: u64,
126-
pub f_ffree: u64,
127-
pub f_favail: u64,
128-
pub f_fsid: ::c_ulong,
129-
pub f_flag: ::c_ulong,
130-
pub f_namemax: ::c_ulong,
131-
__f_spare: [::c_int; 6],
132-
}
133-
134120
pub struct pthread_attr_t {
135121
#[cfg(target_pointer_width = "32")]
136122
__size: [u32; 8],

0 commit comments

Comments
 (0)