summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2019-04-30 22:47:21 -0400
committerGitHub <noreply@github.com>2019-04-30 22:47:21 -0400
commit7c2f669af03297c0fd2f40ec6e21d427ae57d91d (patch)
tree6609b4b5024b48a1dc4dd5552ffc8f3e63d71f59
parente2bf06c1fbccda5b9bffdeeb7d524625eba1d23e (diff)
downloadrust-libc-7c2f669af03297c0fd2f40ec6e21d427ae57d91d.tar.gz
Deprecate _pad field on siginfo_t
-rw-r--r--src/unix/notbsd/linux/other/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/unix/notbsd/linux/other/mod.rs b/src/unix/notbsd/linux/other/mod.rs
index 3d177bd276..798f265042 100644
--- a/src/unix/notbsd/linux/other/mod.rs
+++ b/src/unix/notbsd/linux/other/mod.rs
@@ -48,6 +48,7 @@ s! {
pub si_signo: ::c_int,
pub si_errno: ::c_int,
pub si_code: ::c_int,
+ #[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")]
pub _pad: [::c_int; 29],
#[cfg(target_arch = "x86_64")]
_align: [u64; 0],