diff options
author | gnzlbg <gonzalobg88@gmail.com> | 2019-05-24 13:49:11 +0200 |
---|---|---|
committer | gnzlbg <gonzalobg88@gmail.com> | 2019-05-24 14:15:58 +0200 |
commit | 5e2b0d88d43b15014f4b91fc2589b454e82bc6b1 (patch) | |
tree | d2a3a616ef753faeccdbe6d29560afbbbfc2ff04 /src/unix | |
parent | f775bea997307fe701e05952c1c97877b40c9f9f (diff) | |
download | rust-libc-5e2b0d88d43b15014f4b91fc2589b454e82bc6b1.tar.gz |
Fix locale_t in unix and fuchsia.
Closes #1055.
Diffstat (limited to 'src/unix')
-rw-r--r-- | src/unix/mod.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/unix/mod.rs b/src/unix/mod.rs index 6240964dd5..5ae272f6a1 100644 --- a/src/unix/mod.rs +++ b/src/unix/mod.rs @@ -45,12 +45,7 @@ impl ::Copy for DIR {} impl ::Clone for DIR { fn clone(&self) -> DIR { *self } } -#[cfg_attr(feature = "extra_traits", derive(Debug))] -pub enum locale_t {} -impl ::Copy for locale_t {} -impl ::Clone for locale_t { - fn clone(&self) -> locale_t { *self } -} +pub type locale_t = *mut :: c_void; s! { pub struct group { |