@@ -22,7 +22,6 @@ pub type off_t = c_long;
2222pub type blkcnt_t = c_ulong ;
2323pub type blksize_t = c_ulong ;
2424pub type nlink_t = u32 ;
25- pub type useconds_t = u32 ;
2625pub type pthread_t = c_long ;
2726pub type pthread_mutexattr_t = c_long ;
2827pub type pthread_rwlockattr_t = c_long ;
@@ -496,11 +495,6 @@ s! {
496495 pub ifr6_ifindex: c_int,
497496 }
498497
499- pub struct if_nameindex {
500- pub if_index: c_uint,
501- pub if_name: * mut c_char,
502- }
503-
504498 pub struct sockaddr_nl {
505499 pub nl_family: crate :: sa_family_t,
506500 nl_pad: Padding <c_ushort>,
@@ -3601,20 +3595,6 @@ extern "C" {
36013595 pub fn getgrnam ( name : * const c_char ) -> * mut crate :: group ;
36023596 pub fn sem_unlink ( name : * const c_char ) -> c_int ;
36033597 pub fn daemon ( nochdir : c_int , noclose : c_int ) -> c_int ;
3604- pub fn getpwnam_r (
3605- name : * const c_char ,
3606- pwd : * mut passwd ,
3607- buf : * mut c_char ,
3608- buflen : size_t ,
3609- result : * mut * mut passwd ,
3610- ) -> c_int ;
3611- pub fn getpwuid_r (
3612- uid : crate :: uid_t ,
3613- pwd : * mut passwd ,
3614- buf : * mut c_char ,
3615- buflen : size_t ,
3616- result : * mut * mut passwd ,
3617- ) -> c_int ;
36183598 pub fn sigtimedwait (
36193599 set : * const sigset_t ,
36203600 info : * mut siginfo_t ,
@@ -3734,9 +3714,6 @@ extern "C" {
37343714 newpath : * const c_char ,
37353715 flags : c_uint ,
37363716 ) -> c_int ;
3737-
3738- pub fn if_nameindex ( ) -> * mut if_nameindex ;
3739- pub fn if_freenameindex ( ptr : * mut if_nameindex ) ;
37403717}
37413718
37423719cfg_if ! {
0 commit comments