@@ -6128,7 +6128,7 @@ pub mod funcs {
61286128 use types:: os:: arch:: c95:: { c_char, c_uchar, c_int, c_uint, c_ulong, size_t} ;
61296129
61306130 extern {
6131- pub fn ioctl ( d : c_int , request : c_ulong , ...) -> c_int ;
6131+ pub fn ioctl ( fd : c_int , request : c_ulong , ...) -> c_int ;
61326132 pub fn sysctl ( name : * mut c_int ,
61336133 namelen : c_uint ,
61346134 oldp : * mut c_void ,
@@ -6160,12 +6160,12 @@ pub mod funcs {
61606160 #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
61616161 pub mod bsd44 {
61626162 use types:: common:: c95:: { c_void} ;
6163- use types:: os:: arch:: c95:: { c_uchar, c_int, size_t} ;
6163+ use types:: os:: arch:: c95:: { c_uchar, c_int, c_ulong , size_t} ;
61646164
61656165 extern {
61666166 #[ cfg( not( all( target_os = "android" , target_arch = "aarch64" ) ) ) ]
61676167 pub fn getdtablesize ( ) -> c_int ;
6168- pub fn ioctl ( d : c_int , request : c_int , ...) -> c_int ;
6168+ pub fn ioctl ( fd : c_int , request : c_ulong , ...) -> c_int ;
61696169 pub fn madvise ( addr : * mut c_void , len : size_t , advice : c_int )
61706170 -> c_int ;
61716171 pub fn mincore ( addr : * mut c_void , len : size_t , vec : * mut c_uchar )
0 commit comments