Skip to content

Commit 9c7fc3b

Browse files
committed
arm: clean stat*64 aliases
1 parent 28e4913 commit 9c7fc3b

File tree

2 files changed

+1
-23
lines changed

2 files changed

+1
-23
lines changed

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

-18
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
pub type c_char = u8;
22
pub type wchar_t = u32;
33

4-
pub type statfs64 = statfs;
5-
64
s! {
75
pub struct sigaction {
86
pub sa_sigaction: ::sighandler_t,
@@ -57,22 +55,6 @@ s! {
5755
__unused2: ::c_ulong
5856
}
5957

60-
pub struct statvfs64 {
61-
pub f_bsize: ::c_ulong,
62-
pub f_frsize: ::c_ulong,
63-
pub f_blocks: u64,
64-
pub f_bfree: u64,
65-
pub f_bavail: u64,
66-
pub f_files: u64,
67-
pub f_ffree: u64,
68-
pub f_favail: u64,
69-
pub f_fsid: ::c_ulong,
70-
__f_unused: ::c_int,
71-
pub f_flag: ::c_ulong,
72-
pub f_namemax: ::c_ulong,
73-
__f_spare: [::c_int; 6],
74-
}
75-
7658
pub struct shmid_ds {
7759
pub shm_perm: ::ipc_perm,
7860
pub shm_segsz: ::size_t,

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

+1-5
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,8 @@ cfg_if! {
4343
cfg_if! {
4444
if #[cfg(any(target_arch = "arm", target_arch="riscv32", target_arch="sparc"))] {
4545
pub type stat64 = stat;
46-
}
47-
}
48-
cfg_if! {
49-
if #[cfg(any(target_arch = "riscv32", target_arch="sparc"))] {
50-
pub type statvfs64 = statvfs;
5146
pub type statfs64 = statfs;
47+
pub type statvfs64 = statvfs;
5248
}
5349
}
5450

0 commit comments

Comments
 (0)