summaryrefslogtreecommitdiff
path: root/src/sys/signal.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/signal.rs')
-rw-r--r--src/sys/signal.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sys/signal.rs b/src/sys/signal.rs
index f08e2617..771255c3 100644
--- a/src/sys/signal.rs
+++ b/src/sys/signal.rs
@@ -118,14 +118,14 @@ pub mod signal {
#[cfg(target_word_size = "32")]
#[deriving(Copy)]
pub struct sigset_t {
- __val: [libc::c_ulong, ..32],
+ __val: [libc::c_ulong; 32],
}
#[repr(C)]
#[cfg(target_word_size = "64")]
#[deriving(Copy)]
pub struct sigset_t {
- __val: [libc::c_ulong, ..16],
+ __val: [libc::c_ulong; 16],
}
}
@@ -188,12 +188,12 @@ pub mod signal {
pub sa_handler: extern fn(libc::c_int),
pub sa_mask: sigset_t,
sa_restorer: *mut libc::c_void,
- sa_resv: [libc::c_int, ..1],
+ sa_resv: [libc::c_int; 1],
}
#[repr(C)]
pub struct sigset_t {
- __val: [libc::c_ulong, ..32],
+ __val: [libc::c_ulong; 32],
}
}
@@ -242,7 +242,7 @@ pub mod signal {
#[cfg(any(target_os = "freebsd", target_os = "dragonfly"))]
#[repr(C)]
pub struct sigset_t {
- bits: [u32, ..4],
+ bits: [u32; 4],
}
// This structure has more fields, but we're not all that interested in