Skip to content

Commit

Permalink
change labels from linux to ulibc
Browse files Browse the repository at this point in the history
  • Loading branch information
lvllvl committed Jan 8, 2025
1 parent ba2bde2 commit 3037853
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/unix/linux_like/linux/uclibc/x86_64/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,14 +142,14 @@ s! {
}

pub struct stack_t {
// FIXME(linux)
// FIXME(ulibc)
pub ss_sp: *mut c_void,
pub ss_flags: c_int,
pub ss_size: size_t,
}

pub struct statfs {
// FIXME(linux)
// FIXME(ulibc)
pub f_type: fsword_t,
pub f_bsize: fsword_t,
pub f_blocks: crate::fsblkcnt_t,
Expand Down Expand Up @@ -195,7 +195,7 @@ s! {
}

pub struct msghdr {
// FIXME(linux)
// FIXME(ulibc)
pub msg_name: *mut c_void,
pub msg_namelen: crate::socklen_t,
pub msg_iov: *mut crate::iovec,
Expand All @@ -206,7 +206,7 @@ s! {
}

pub struct termios {
// FIXME(linux)
// FIXME(ulibc)
pub c_iflag: crate::tcflag_t,
pub c_oflag: crate::tcflag_t,
pub c_cflag: crate::tcflag_t,
Expand All @@ -216,12 +216,12 @@ s! {
}

pub struct sigset_t {
// FIXME(linux)
// FIXME(ulibc)
__val: [c_ulong; 16],
}

pub struct sysinfo {
// FIXME(linux)
// FIXME(ulibc)
pub uptime: c_long,
pub loads: [c_ulong; 3],
pub totalram: c_ulong,
Expand All @@ -239,7 +239,7 @@ s! {
}

pub struct glob_t {
// FIXME(linux)
// FIXME(ulibc)
pub gl_pathc: size_t,
pub gl_pathv: *mut *mut c_char,
pub gl_offs: size_t,
Expand All @@ -252,15 +252,15 @@ s! {
}

pub struct cpu_set_t {
// FIXME(linux)
// FIXME(ulibc)
#[cfg(target_pointer_width = "32")]
bits: [u32; 32],
#[cfg(target_pointer_width = "64")]
bits: [u64; 16],
}

pub struct fsid_t {
// FIXME(linux)
// FIXME(ulibc)
__val: [c_int; 2],
}

Expand Down

0 comments on commit 3037853

Please sign in to comment.