File tree Expand file tree Collapse file tree 4 files changed +3
-6
lines changed Expand file tree Collapse file tree 4 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -1008,8 +1008,6 @@ f! {
1008
1008
}
1009
1009
1010
1010
extern {
1011
- pub fn gettimeofday ( tp : * mut :: timeval ,
1012
- tz : * mut :: timezone ) -> :: c_int ;
1013
1011
pub fn mprotect ( addr : * mut :: c_void , len : :: size_t , prot : :: c_int )
1014
1012
-> :: c_int ;
1015
1013
pub fn clock_getres ( clk_id : :: clockid_t , tp : * mut :: timespec ) -> :: c_int ;
Original file line number Diff line number Diff line change @@ -1249,8 +1249,6 @@ f! {
1249
1249
}
1250
1250
1251
1251
extern {
1252
- pub fn gettimeofday ( tp : * mut :: timeval ,
1253
- tz : * mut :: timezone ) -> :: c_int ;
1254
1252
pub fn __error ( ) -> * mut :: c_int ;
1255
1253
1256
1254
pub fn mprotect ( addr : * const :: c_void , len : :: size_t , prot : :: c_int )
Original file line number Diff line number Diff line change @@ -1095,7 +1095,8 @@ extern {
1095
1095
-> :: c_int ;
1096
1096
1097
1097
pub fn daemon ( nochdir : :: c_int , noclose : :: c_int ) -> :: c_int ;
1098
-
1098
+ pub fn gettimeofday ( tp : * mut :: timeval ,
1099
+ tz : * mut :: timezone ) -> :: c_int ;
1099
1100
pub fn accept4 ( s : :: c_int , addr : * mut :: sockaddr ,
1100
1101
addrlen : * mut :: socklen_t , flags : :: c_int ) -> :: c_int ;
1101
1102
pub fn aio_read ( aiocbp : * mut aiocb ) -> :: c_int ;
Original file line number Diff line number Diff line change @@ -917,7 +917,7 @@ extern {
917
917
pub fn getpt ( ) -> :: c_int ;
918
918
pub fn mallopt ( param : :: c_int , value : :: c_int ) -> :: c_int ;
919
919
pub fn gettimeofday ( tp : * mut :: timeval ,
920
- tz : * mut :: c_void ) -> :: c_int ;
920
+ tz : * mut :: timezone ) -> :: c_int ;
921
921
}
922
922
923
923
#[ link( name = "util" ) ]
You can’t perform that action at this time.
0 commit comments