Skip to content

Commit 7c2f669

Browse files
authored
Deprecate _pad field on siginfo_t
1 parent e2bf06c commit 7c2f669

File tree

1 file changed

+1
-0
lines changed
  • src/unix/notbsd/linux/other

1 file changed

+1
-0
lines changed

src/unix/notbsd/linux/other/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ s! {
4848
pub si_signo: ::c_int,
4949
pub si_errno: ::c_int,
5050
pub si_code: ::c_int,
51+
#[deprecated(since="0.2.54", note="Please leave a comment on https://github.com/rust-lang/libc/pull/1316 if you're using this field")]
5152
pub _pad: [::c_int; 29],
5253
#[cfg(target_arch = "x86_64")]
5354
_align: [u64; 0],

0 commit comments

Comments
 (0)