summaryrefslogtreecommitdiff
path: root/src/unix/bsd/freebsdlike/freebsd
diff options
context:
space:
mode:
authorgnzlbg <gonzalobg88@gmail.com>2019-09-25 19:46:43 +0200
committergnzlbg <gonzalobg88@gmail.com>2019-09-25 19:46:43 +0200
commitdb8785d0e2b0910d7a55db59fcf3925c53bdea68 (patch)
tree304a6c3f7ad7bff47e4ea4fe538aacb18d731acf /src/unix/bsd/freebsdlike/freebsd
parentfe67d7d9f967ec5bd9271bfbd0b0b7609a5c451e (diff)
downloadrust-libc-db8785d0e2b0910d7a55db59fcf3925c53bdea68.tar.gz
Do not use tuple structs
Diffstat (limited to 'src/unix/bsd/freebsdlike/freebsd')
-rw-r--r--src/unix/bsd/freebsdlike/freebsd/x86_64/align.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/unix/bsd/freebsdlike/freebsd/x86_64/align.rs b/src/unix/bsd/freebsdlike/freebsd/x86_64/align.rs
index 33a0bc5daf..340ad79821 100644
--- a/src/unix/bsd/freebsdlike/freebsd/x86_64/align.rs
+++ b/src/unix/bsd/freebsdlike/freebsd/x86_64/align.rs
@@ -1,4 +1,6 @@
s! {
#[repr(align(16))]
- pub struct max_align_t([f64; 4]);
+ pub struct max_align_t {
+ priv_: [f64; 4]
+ }
}