File tree 1 file changed +3
-3
lines changed 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1016,15 +1016,15 @@ pub mod netlink {
1016
1016
#[ cfg( any( target_os = "ios" , target_os = "macos" ) ) ]
1017
1017
pub mod sys_control {
1018
1018
use :: sys:: socket:: addr:: AddressFamily ;
1019
- use libc:: { self , c_uchar, uint16_t , uint32_t } ;
1019
+ use libc:: { self , c_uchar} ;
1020
1020
use std:: { fmt, mem} ;
1021
1021
use std:: hash:: { Hash , Hasher } ;
1022
1022
use std:: os:: unix:: io:: RawFd ;
1023
1023
use { Errno , Error , Result } ;
1024
1024
1025
1025
#[ repr( C ) ]
1026
1026
pub struct ctl_ioc_info {
1027
- pub ctl_id : uint32_t ,
1027
+ pub ctl_id : u32 ,
1028
1028
pub ctl_name : [ c_uchar ; MAX_KCTL_NAME ] ,
1029
1029
}
1030
1030
@@ -1061,7 +1061,7 @@ pub mod sys_control {
1061
1061
let addr = libc:: sockaddr_ctl {
1062
1062
sc_len : mem:: size_of :: < libc:: sockaddr_ctl > ( ) as c_uchar ,
1063
1063
sc_family : AddressFamily :: System as c_uchar ,
1064
- ss_sysaddr : libc:: AF_SYS_CONTROL as uint16_t ,
1064
+ ss_sysaddr : libc:: AF_SYS_CONTROL as u16 ,
1065
1065
sc_id : id,
1066
1066
sc_unit : unit,
1067
1067
sc_reserved : [ 0 ; 5 ]
You can’t perform that action at this time.
0 commit comments