File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -834,13 +834,9 @@ extern {
834
834
link_name = "nice$UNIX2003" ) ]
835
835
pub fn nice ( incr : :: c_int ) -> :: c_int ;
836
836
837
- pub fn getpt ( ) -> :: c_int ;
838
837
pub fn grantpt ( fd : :: c_int ) -> :: c_int ;
839
838
pub fn posix_openpt ( flags : :: c_int ) -> :: c_int ;
840
839
pub fn ptsname ( fd : :: c_int ) -> * mut :: c_char ;
841
- pub fn ptsname_r ( fd : :: c_int ,
842
- buf : * mut :: c_char ,
843
- buflen : :: size_t ) -> :: c_int ;
844
840
pub fn unlockpt ( fd : :: c_int ) -> :: c_int ;
845
841
}
846
842
Original file line number Diff line number Diff line change @@ -563,6 +563,7 @@ extern {
563
563
pub fn pututxline ( ut : * const utmpx ) -> * mut utmpx ;
564
564
pub fn setutxent ( ) ;
565
565
pub fn endutxent ( ) ;
566
+ pub fn getpt ( ) -> :: c_int ;
566
567
}
567
568
568
569
#[ link( name = "util" ) ]
Original file line number Diff line number Diff line change @@ -851,6 +851,9 @@ extern {
851
851
flg : :: c_int ) -> :: c_int ;
852
852
pub fn pthread_mutex_timedlock ( lock : * mut pthread_mutex_t ,
853
853
abstime : * const :: timespec ) -> :: c_int ;
854
+ pub fn ptsname_r ( fd : :: c_int ,
855
+ buf : * mut :: c_char ,
856
+ buflen : :: size_t ) -> :: c_int ;
854
857
}
855
858
856
859
cfg_if ! {
You can’t perform that action at this time.
0 commit comments