Skip to content

Commit 2c52fa4

Browse files
committed
Reorder a struct that was in a different location on main
1 parent 25e022a commit 2c52fa4

File tree

1 file changed

+8
-8
lines changed
  • src/unix/linux_like/linux

1 file changed

+8
-8
lines changed

src/unix/linux_like/linux/mod.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -821,6 +821,14 @@ s! {
821821
pub val: ::c_int,
822822
}
823823

824+
// linux/openat2.h
825+
#[non_exhaustive]
826+
pub struct open_how {
827+
pub flags: ::__u64,
828+
pub mode: ::__u64,
829+
pub resolve: ::__u64,
830+
}
831+
824832
// linux/sctp.h
825833

826834
pub struct sctp_initmsg {
@@ -1000,14 +1008,6 @@ s! {
10001008
pub pid: ::c_int,
10011009
}
10021010

1003-
// linux/openat2.h
1004-
#[non_exhaustive]
1005-
pub struct open_how {
1006-
pub flags: ::__u64,
1007-
pub mode: ::__u64,
1008-
pub resolve: ::__u64,
1009-
}
1010-
10111011
// linux/wireless.h
10121012

10131013
pub struct iw_param {

0 commit comments

Comments
 (0)