diff options
author | Valerii Hiora <valerii.hiora@gmail.com> | 2015-01-03 14:37:30 +0200 |
---|---|---|
committer | Valerii Hiora <valerii.hiora@gmail.com> | 2015-01-03 16:55:42 +0200 |
commit | 0fd15870b9e2f899bd7b6a4c7a4646773cb1d34c (patch) | |
tree | b8e12f347f5c288d1bd16a24f8024bc4106abb40 /src/sys/signal.rs | |
parent | c82c8cced23256ebeeea978fda67abd976280425 (diff) | |
download | nix-0fd15870b9e2f899bd7b6a4c7a4646773cb1d34c.zip |
Update to rust master
- cstr fallout
- deriving -> derive
- lib stabilization warnings removal
Diffstat (limited to 'src/sys/signal.rs')
-rw-r--r-- | src/sys/signal.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sys/signal.rs b/src/sys/signal.rs index 771255c3..a4a25ccc 100644 --- a/src/sys/signal.rs +++ b/src/sys/signal.rs @@ -95,7 +95,7 @@ pub mod signal { // actually a giant union. Currently we're only interested in these fields, // however. #[repr(C)] - #[deriving(Copy)] + #[derive(Copy)] pub struct siginfo { si_signo: libc::c_int, si_errno: libc::c_int, @@ -116,14 +116,14 @@ pub mod signal { #[repr(C)] #[cfg(target_word_size = "32")] - #[deriving(Copy)] + #[derive(Copy)] pub struct sigset_t { __val: [libc::c_ulong; 32], } #[repr(C)] #[cfg(target_word_size = "64")] - #[deriving(Copy)] + #[derive(Copy)] pub struct sigset_t { __val: [libc::c_ulong; 16], } @@ -248,7 +248,7 @@ pub mod signal { // This structure has more fields, but we're not all that interested in // them. #[repr(C)] - #[deriving(Copy)] + #[derive(Copy)] pub struct siginfo { pub si_signo: libc::c_int, pub si_errno: libc::c_int, @@ -296,7 +296,7 @@ mod ffi { } } -#[deriving(Copy)] +#[derive(Copy)] pub struct SigSet { sigset: sigset_t } |