summaryrefslogtreecommitdiff
path: root/src/unix/notbsd/linux/other/b32
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-05-29 18:13:57 +0000
committerbors <bors@rust-lang.org>2019-05-29 18:13:57 +0000
commit0e702c1b4e2e56788e8b67d3efd9c242807c3d4b (patch)
treeae82c43eaa3a1b9b6707ba12aca2dbab2f26553c /src/unix/notbsd/linux/other/b32
parente66b2a875825a8b510b835a8fe2baae7ec525e75 (diff)
parentafa3edf86c70ca70a4ca4514f1953d130fb3e870 (diff)
downloadrust-libc-0e702c1b4e2e56788e8b67d3efd9c242807c3d4b.tar.gz
Auto merge of #1379 - gnzlbg:deprecate_fixed_width_ints, r=gnzlbg
Deprecate fixed width integer type aliases cc @emilio - I think it makes sense to ensure that the latest released version of bindgen works properly with this change. That is, that even when asked to use C types from, e.g., `libc::`, it does not use aliases for the fixed-width integer C types (e.g. `libc::int64_t`) but uses Rust primitive types instead (e.g. `u64`). Closes #1304 .
Diffstat (limited to 'src/unix/notbsd/linux/other/b32')
-rw-r--r--src/unix/notbsd/linux/other/b32/powerpc.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/unix/notbsd/linux/other/b32/powerpc.rs b/src/unix/notbsd/linux/other/b32/powerpc.rs
index d6a1919cd5..90c8f50347 100644
--- a/src/unix/notbsd/linux/other/b32/powerpc.rs
+++ b/src/unix/notbsd/linux/other/b32/powerpc.rs
@@ -9,10 +9,10 @@ s! {
pub cuid: ::uid_t,
pub cgid: ::gid_t,
pub mode: ::mode_t,
- __seq: ::uint32_t,
- __pad1: ::uint32_t,
- __glibc_reserved1: ::uint64_t,
- __glibc_reserved2: ::uint64_t,
+ __seq: u32,
+ __pad1: u32,
+ __glibc_reserved1: u64,
+ __glibc_reserved2: u64,
}
pub struct stat64 {