Skip to content

Commit 4c7c23b

Browse files
committed
changes from feedback
1 parent 0d295f8 commit 4c7c23b

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

libc-test/semver/linux-gnu.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -629,6 +629,7 @@ dlmopen
629629
endutxent
630630
explicit_bzero
631631
fanotify_event_info_error
632+
fanotify_event_info_header
632633
fanotify_event_info_pidfd
633634
fgetgrent_r
634635
fgetspent_r

src/unix/linux_like/linux/align.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,6 @@ macro_rules! expand_align {
6363
pub fd: ::c_int,
6464
pub pid: ::c_int,
6565
}
66-
67-
#[repr(align(2))]
68-
pub struct fanotify_event_info_header {
69-
pub info_type: __u8,
70-
pub pad: __u8,
71-
pub len: __u16,
72-
}
7366
}
7467

7568
s_no_extra_traits! {

src/unix/linux_like/linux/mod.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -662,6 +662,12 @@ s! {
662662
pub response: __u32,
663663
}
664664

665+
pub struct fanotify_event_info_header {
666+
pub info_type: __u8,
667+
pub pad: __u8,
668+
pub len: __u16,
669+
}
670+
665671
pub struct fanotify_event_info_fid {
666672
pub hdr: fanotify_event_info_header,
667673
pub fsid: ::__kernel_fsid_t,

0 commit comments

Comments
 (0)