Auto merge of #1183 - xmclark:make-tm-members-public-windows, r=gnzlbg

make tm struct members public

This PR makes the members of `struct tm` public.

I see no reason why these fields should not be public fields. They are public in the other targets. I did a blame and it seems that they have been private since added a couple years ago.

53e0d387f8
This commit is contained in:
bors 2018-12-24 18:40:18 +00:00
commit a4d41775f3
1 changed files with 9 additions and 9 deletions

View File

@ -75,15 +75,15 @@ s! {
}
pub struct tm {
tm_sec: ::c_int,
tm_min: ::c_int,
tm_hour: ::c_int,
tm_mday: ::c_int,
tm_mon: ::c_int,
tm_year: ::c_int,
tm_wday: ::c_int,
tm_yday: ::c_int,
tm_isdst: ::c_int,
pub tm_sec: ::c_int,
pub tm_min: ::c_int,
pub tm_hour: ::c_int,
pub tm_mday: ::c_int,
pub tm_mon: ::c_int,
pub tm_year: ::c_int,
pub tm_wday: ::c_int,
pub tm_yday: ::c_int,
pub tm_isdst: ::c_int,
}
pub struct timeval {