Skip to content

Commit bfeb785

Browse files
committed
chore: wip
1 parent 209489f commit bfeb785

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

src/unix/linux_like/linux/uclibc/arm/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ s! {
147147
pub f_namelen: c_int,
148148
pub f_frsize: c_int,
149149
pub f_flags: c_int,
150-
pub f_spare: Padding<[c_int; 4]>,
150+
f_spare: Padding<[c_int; 4]>,
151151
}
152152

153153
pub struct statfs64 {
@@ -163,7 +163,7 @@ s! {
163163
pub f_namelen: c_int,
164164
pub f_frsize: c_int,
165165
pub f_flags: c_int,
166-
pub f_spare: Padding<[c_int; 4]>,
166+
f_spare: Padding<[c_int; 4]>,
167167
}
168168

169169
pub struct sigset_t {

src/unix/linux_like/linux/uclibc/mod.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// FIXME(ulibc): this module has definitions that are redundant with the parent
2-
#![allow(dead_code)]
3-
41
use crate::prelude::*;
52

63
pub type shmatt_t = c_ulong;
@@ -11,7 +8,7 @@ pub type __rlimit_resource_t = c_ulong;
118
pub type __priority_which_t = c_uint;
129

1310
cfg_if! {
14-
if #[cfg(any(uclibc_file_offset_bits64, target_pointer_width = "64"))] {
11+
if #[cfg(uclibc_file_offset_bits64)] {
1512
pub type ino_t = u64;
1613
pub type off_t = i64;
1714
pub type rlim_t = u64;

0 commit comments

Comments
 (0)