@@ -476,8 +476,6 @@ extern {
476
476
pub fn setpgid ( pid : pid_t , pgid : pid_t ) -> :: c_int ;
477
477
pub fn setsid ( ) -> pid_t ;
478
478
pub fn setuid ( uid : uid_t ) -> :: c_int ;
479
- pub fn setreuid ( ruid : uid_t , euid : uid_t ) -> :: c_int ;
480
- pub fn setregid ( rgid : gid_t , egid : gid_t ) -> :: c_int ;
481
479
#[ cfg_attr( all( target_os = "macos" , target_arch = "x86" ) ,
482
480
link_name = "sleep$UNIX2003" ) ]
483
481
pub fn sleep ( secs : :: c_uint ) -> :: c_uint ;
@@ -745,7 +743,6 @@ extern {
745
743
pub fn daemon ( nochdir : :: c_int , noclose : :: c_int ) -> :: c_int ;
746
744
pub fn gethostname ( name : * mut :: c_char , len : :: size_t ) -> :: c_int ;
747
745
pub fn chroot ( name : * const :: c_char ) -> :: c_int ;
748
- pub fn acct ( filename : * const :: c_char ) -> :: c_int ;
749
746
#[ cfg_attr( all( target_os = "macos" , target_arch = "x86" ) ,
750
747
link_name = "usleep$UNIX2003" ) ]
751
748
pub fn usleep ( secs : :: c_uint ) -> :: c_int ;
@@ -818,8 +815,6 @@ extern {
818
815
-> :: c_int ;
819
816
#[ cfg_attr( target_os = "netbsd" , link_name = "__sigpending14" ) ]
820
817
pub fn sigpending ( set : * mut sigset_t ) -> :: c_int ;
821
- #[ cfg_attr( target_os = "netbsd" , link_name = "__sigsuspend14" ) ]
822
- pub fn sigsuspend ( mask : * const sigset_t ) -> :: c_int ;
823
818
824
819
#[ cfg_attr( target_os = "netbsd" , link_name = "__timegm50" ) ]
825
820
pub fn timegm ( tm : * mut :: tm ) -> time_t ;
0 commit comments