File tree 2 files changed +4
-12
lines changed
2 files changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,8 @@ pub type c_ulonglong = u64;
27
27
pub type intmax_t = i64 ;
28
28
pub type uintmax_t = u64 ;
29
29
30
+ pub type locale_t = * mut :: c_void ;
31
+
30
32
pub type size_t = usize ;
31
33
pub type ptrdiff_t = isize ;
32
34
pub type intptr_t = isize ;
@@ -110,12 +112,7 @@ impl ::Copy for DIR {}
110
112
impl :: Clone for DIR {
111
113
fn clone ( & self ) -> DIR { * self }
112
114
}
113
- #[ cfg_attr( feature = "extra_traits" , derive( Debug ) ) ]
114
- pub enum locale_t { }
115
- impl :: Copy for locale_t { }
116
- impl :: Clone for locale_t {
117
- fn clone ( & self ) -> locale_t { * self }
118
- }
115
+
119
116
#[ cfg_attr( feature = "extra_traits" , derive( Debug ) ) ]
120
117
pub enum fpos64_t { } // TODO: fill this out with a struct
121
118
impl :: Copy for fpos64_t { }
Original file line number Diff line number Diff line change @@ -45,12 +45,7 @@ impl ::Copy for DIR {}
45
45
impl :: Clone for DIR {
46
46
fn clone ( & self ) -> DIR { * self }
47
47
}
48
- #[ cfg_attr( feature = "extra_traits" , derive( Debug ) ) ]
49
- pub enum locale_t { }
50
- impl :: Copy for locale_t { }
51
- impl :: Clone for locale_t {
52
- fn clone ( & self ) -> locale_t { * self }
53
- }
48
+ pub type locale_t = * mut :: c_void ;
54
49
55
50
s ! {
56
51
pub struct group {
You can’t perform that action at this time.
0 commit comments