diff --git a/src/unix/notbsd/linux/mips.rs b/src/unix/notbsd/linux/mips.rs index 349e3330..53cd2db1 100644 --- a/src/unix/notbsd/linux/mips.rs +++ b/src/unix/notbsd/linux/mips.rs @@ -14,7 +14,6 @@ pub type ino_t = u32; pub type ssize_t = i32; pub type blkcnt_t = i32; pub type blksize_t = i32; -pub type mode_t = u32; pub type nlink_t = u32; s! { diff --git a/src/unix/notbsd/linux/mod.rs b/src/unix/notbsd/linux/mod.rs index 59b591a0..d45cb4eb 100644 --- a/src/unix/notbsd/linux/mod.rs +++ b/src/unix/notbsd/linux/mod.rs @@ -4,6 +4,7 @@ pub type useconds_t = u32; pub type dev_t = u64; pub type socklen_t = u32; pub type pthread_t = c_ulong; +pub type mode_t = u32; s! { pub struct glob_t { diff --git a/src/unix/notbsd/linux/notmips/b32/mod.rs b/src/unix/notbsd/linux/notmips/b32/mod.rs index 86296906..b437d76d 100644 --- a/src/unix/notbsd/linux/notmips/b32/mod.rs +++ b/src/unix/notbsd/linux/notmips/b32/mod.rs @@ -13,8 +13,8 @@ pub type ino_t = u32; pub type off_t = i32; pub type ssize_t = i32; pub type blkcnt_t = i32; + pub type blksize_t = i32; -pub type mode_t = u32; pub type nlink_t = u32; pub const __SIZEOF_PTHREAD_MUTEX_T: usize = 24; diff --git a/src/unix/notbsd/linux/notmips/b64/aarch64.rs b/src/unix/notbsd/linux/notmips/b64/aarch64.rs index 7452e7dc..31e8b25f 100644 --- a/src/unix/notbsd/linux/notmips/b64/aarch64.rs +++ b/src/unix/notbsd/linux/notmips/b64/aarch64.rs @@ -1,9 +1,9 @@ //! AArch64-specific definitions for 64-bit linux-like values pub type c_char = u8; +pub type wchar_t = u32; pub type nlink_t = u32; pub type blksize_t = i32; -pub type wchar_t = u32; pub const __SIZEOF_PTHREAD_MUTEX_T: usize = 48; pub const __SIZEOF_PTHREAD_MUTEXATTR_T: usize = 8; diff --git a/src/unix/notbsd/linux/notmips/b64/mod.rs b/src/unix/notbsd/linux/notmips/b64/mod.rs index 8f55e09d..1916dc43 100644 --- a/src/unix/notbsd/linux/notmips/b64/mod.rs +++ b/src/unix/notbsd/linux/notmips/b64/mod.rs @@ -11,7 +11,6 @@ pub type intptr_t = i64; pub type uintptr_t = u64; pub type ino_t = u64; pub type off_t = i64; -pub type mode_t = u32; pub type ssize_t = i64; pub type blkcnt_t = i64; diff --git a/src/unix/notbsd/linux/notmips/b64/x86_64.rs b/src/unix/notbsd/linux/notmips/b64/x86_64.rs index 0068fe06..2d3320a2 100644 --- a/src/unix/notbsd/linux/notmips/b64/x86_64.rs +++ b/src/unix/notbsd/linux/notmips/b64/x86_64.rs @@ -1,9 +1,9 @@ //! x86_64-specific definitions for 64-bit linux-like values pub type c_char = i8; +pub type wchar_t = i32; pub type nlink_t = u64; pub type blksize_t = i64; -pub type wchar_t = i32; pub const __SIZEOF_PTHREAD_MUTEX_T: usize = 40; pub const __SIZEOF_PTHREAD_MUTEXATTR_T: usize = 4;