File tree 3 files changed +2
-12
lines changed 3 files changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -590,10 +590,6 @@ extern {
590
590
timeout : * const :: timespec ) -> :: c_int ;
591
591
pub fn sigwaitinfo ( set : * const sigset_t ,
592
592
info : * mut siginfo_t ) -> :: c_int ;
593
- }
594
-
595
- #[ link( name = "util" ) ]
596
- extern "C" {
597
593
pub fn openpty ( amaster : * mut :: c_int ,
598
594
aslave : * mut :: c_int ,
599
595
name : * mut :: c_char ,
Original file line number Diff line number Diff line change @@ -376,6 +376,7 @@ pub const Q_SETQUOTA: ::c_int = 0x400;
376
376
377
377
pub const RTLD_GLOBAL : :: c_int = 0x100 ;
378
378
379
+ #[ link( name = "util" ) ]
379
380
extern {
380
381
pub fn mincore ( addr : * mut :: c_void , len : :: size_t ,
381
382
vec : * mut :: c_char ) -> :: c_int ;
@@ -393,10 +394,6 @@ extern {
393
394
flags : :: c_int ) -> :: c_int ;
394
395
pub fn futimens ( fd : :: c_int , times : * const :: timespec ) -> :: c_int ;
395
396
pub fn fdatasync ( fd : :: c_int ) -> :: c_int ;
396
- }
397
-
398
- #[ link( name = "util" ) ]
399
- extern "C" {
400
397
pub fn openpty ( amaster : * mut :: c_int ,
401
398
aslave : * mut :: c_int ,
402
399
name : * mut :: c_char ,
Original file line number Diff line number Diff line change 398
398
}
399
399
}
400
400
401
+ #[ link( name = "util" ) ]
401
402
extern {
402
403
pub fn shm_open ( name : * const c_char , oflag : :: c_int ,
403
404
mode : mode_t ) -> :: c_int ;
@@ -531,10 +532,6 @@ extern {
531
532
timeout : * const :: timespec ) -> :: c_int ;
532
533
pub fn sigwaitinfo ( set : * const sigset_t ,
533
534
info : * mut siginfo_t ) -> :: c_int ;
534
- }
535
-
536
- #[ link( name = "util" ) ]
537
- extern "C" {
538
535
pub fn openpty ( amaster : * mut :: c_int ,
539
536
aslave : * mut :: c_int ,
540
537
name : * mut :: c_char ,
You can’t perform that action at this time.
0 commit comments