Skip to content

Commit

Permalink
Reorder a struct that was in a different location on main
Browse files Browse the repository at this point in the history
  • Loading branch information
tgross35 committed Nov 23, 2024
1 parent 25e022a commit 2c52fa4
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/unix/linux_like/linux/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -821,6 +821,14 @@ s! {
pub val: ::c_int,
}

// linux/openat2.h
#[non_exhaustive]
pub struct open_how {
pub flags: ::__u64,
pub mode: ::__u64,
pub resolve: ::__u64,
}

// linux/sctp.h

pub struct sctp_initmsg {
Expand Down Expand Up @@ -1000,14 +1008,6 @@ s! {
pub pid: ::c_int,
}

// linux/openat2.h
#[non_exhaustive]
pub struct open_how {
pub flags: ::__u64,
pub mode: ::__u64,
pub resolve: ::__u64,
}

// linux/wireless.h

pub struct iw_param {
Expand Down

0 comments on commit 2c52fa4

Please sign in to comment.